The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
How can I Sort my Column in Power BI?
My Column is
I Want it to be in ascending Order. I tried to sort using visual option but no result. Please help me...
Solved! Go to Solution.
hi @erp
If the column is Text column, when you pull the column in your visual, click on the "..." on the top right corner. And then select the order in which you want to sort.
Thanks,
alekh
Hi @erp
If you want to sort the column ascendingly by the interger part before "D", you need to add a column for sorting. In Power Query Editor, extract the interger part into a new column: under Add Column, select Extract > Text Before Delimiter and enter D in Delimiter textbox. And change the data type to Whole number.
After applying changes into Power BI Desktop, sort the original column by the new column. At last, select Sort ascending on the visual.
I don't add the new column with DAX because it will bring a circular dependency error when sorting the column by the new column. Hope this helps.
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
Hi @erp
If you want to sort the column ascendingly by the interger part before "D", you need to add a column for sorting. In Power Query Editor, extract the interger part into a new column: under Add Column, select Extract > Text Before Delimiter and enter D in Delimiter textbox. And change the data type to Whole number.
After applying changes into Power BI Desktop, sort the original column by the new column. At last, select Sort ascending on the visual.
I don't add the new column with DAX because it will bring a circular dependency error when sorting the column by the new column. Hope this helps.
Regards,
Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.
hi @erp
If the column is Text column, when you pull the column in your visual, click on the "..." on the top right corner. And then select the order in which you want to sort.
Thanks,
alekh
@erp , In every visual you have the option under three dots to sort on column and order ,
if not you can use sort column of your choice
How to Create Sort Column and Solve Related Errors: https://youtu.be/KK1zu4MBb-c
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
121 | |
86 | |
77 | |
55 | |
48 |
User | Count |
---|---|
136 | |
128 | |
78 | |
64 | |
63 |