Export PowerTable to CSV with filters and sorting applied


I am currently using the system.dataset.exportCSV to export data from a power table to CSV.
This, however, exports the raw data as apposed to the filtered and sorted data the the user has arranged.
Is there a way to export this filtered and sorted version of the dataset?

Thank you in advance,


Currently there is no way to do that. This does appear to be a feature that could possibly be available in 7.8

This was implemented in V7.8.0
You now have the option for the raw data

filePath = system.dataset.exportCSV(strDefaultName, 1, table.data)

Or the option for the sorted and filtered data.

filePath = system.dataset.exportCSV(strDefaultName, 1, table.viewDataset)