Power Table - Default sorting

Is it possible to set a “Startup Default Sorting” column on the power table?
The dataset contains one timestamp column (non-sorted) that i want to sort on.

If the data is from a sql query, add an “order by” clause.

Problem is that the data is not from SQL, byt from an internal dataset.

Use the sortDataset function:

https://docs.inductiveautomation.com/display/DOC79/sortDataset

1 Like

I have the same question, but I’m using Tag History on a power table. Would I have to convert to a SQL Query? If that’s the case, I would have to join different partitioned tables based on my start/end date filters, correct?

Please disregard. I figured it out.

I applied the system.dataset.sort() to the property change script.

Thanks for your input!