Issues with Export CSV Action

I’ve an export CSV action in my app which I wish to use it for multiple views of different slices. However, while the action perform as expected (download a CSV contains only the record) on one view, when the action is used in another view (a slice) the downloaded CSV contains the all the records in that table instead of just the records displayed in that view. Did I missed out something that would lead to the above behaviour? Thanks a lot