Setting and Maintaining a Default Sort in PQ?

johnny51981

Active Member
Joined
Jun 8, 2015
Messages
400
Might just be a dream of mine, but thought I would ask.

I know PQ sets its own path for refreshing everything, does it come with a specific Sort that it sticks with OR does it just plunk it out however it is least resistant to its own processing? Is there a way in Editor to set a Sort and maintain it through the end of the query?

The reason I ask is because I am having to investigate why the data results where not accurate (realistic logic vs written logic, not a failure in the PQ), and I would like to maintain a Sort by our tracking ID number. If I set the Sort Rows at the start/top of the query, will that sort hold through to the last step that the sorted column exists?
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
If you sort a column, it will stick, but there are some caveats. If you load into power pivot or power BI, there is, by definition, no sorting in the loaded data. If you load to an Excel table, sort will stick. Secondly, depending on your source data, you may need to load the entire table into memory to make the sort stick. I wrote about that in this article. Remove Duplicates and Keep the Last Record with Power Query
 
Upvote 0

Forum statistics

Threads
1,221,508
Messages
6,160,222
Members
451,631
Latest member
coffiajoseph

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top