Forum Discussion
Sort slicer by column
- 6 years ago
hi LauraBueno
For your case, you should selected "study names" filed then click sort by column and choose 'ID'.
By the way, here is a blog for you refer to:
https://radacad.com/sort-by-column-in-power-bi
Regards,
Lin
LauraBueno , As long both column as same granularity you can do
https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column
I have done for Direct query :https://community.powerbi.com/t5/Community-Blog/Decoding-Direct-Query-in-Power-BI-Part-1-Time-Intelligence-in/ba-p/922885
- LauraBueno6 years agoHelper III
Hi amitchandak ,
Thank you for your message. However, I still have the same issue.
For the first link you shared, I dont see the option of "sort by" within the slicer, maybe that works only for certain graphs?
As for the second link, I had already created a column and used it to sort the entire table using that column however the slicer doesn't seem to be affected by it and still displays the items alphabetically.
Any ideas of how to make it work?
thanks
Laura
- v-lili6-msft6 years agoCommunity Support
hi LauraBueno
For your case, you should selected "study names" filed then click sort by column and choose 'ID'.
By the way, here is a blog for you refer to:
https://radacad.com/sort-by-column-in-power-bi
Regards,
Lin
- LauraBueno6 years agoHelper III
hi v-lili6-msft ,
many thanks for your reply! That worked nicely 🙂
Just a small question related to that, how could I do the same but order the items in desceding id order? I tried clicking twice in order column but doesn't seem to make a difference.
Many thanks in advance,
best regards
Laura
- amitchandak6 years agoSuper User
Can you share sample data and sample output.