Forum Discussion
v4anand18
8 years agoAdvocate I
Sorting a table using multiple columns
Hi All, Is it possible to sort a table using multiple columns? My table looks like this and i would like to sort by "Year" first and then by "Month". Is it possible?
- 4 years ago
I see this tread is quite old, but sorting a visual by one column and then a second column is as simple as clicking the 1st column header to sort ascending or decending. Then simply hold the <Shift> key down and click on the header of the second column.
Of course you can just keep the <Shift> pressed and click on a 3rd, 4th etc until happy.
I hope this helps.
Steve B
micwebnet
6 years agoMicrosoft Employee
Provided accepted solution is incorrect. It only sorts PQ table and doesn't affect the visual. You'll need to add an Index column after the multi-column PQ sort and then sort your table on that column in PBI Desktop. Here's a video on how to do it: https://www.youtube.com/watch?v=RHhITmZjuDA.
Best, Michael