Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi i have to sort bargraph in descending order .
I have a use case where i need to show ageing data
Above 30 Days
15_30 Days
10-15 Days
0-7 Days
In Power Bi there is no option to set order manally
Basing on the aging bucket, they should be sorted correctly following the order below without using a custom sort unless you have other buckets not in the list.
| 0-7 Days |
| 10-15 Days |
| 15-30 Days |
| Above 30 Days |
If that is the case, add another table that contains the bucket and the sort order, you can import it or used Power BI's enter data. Create a relationship from that to your fact table, and use the column from that table in your visuals
created relation between sorting table and fact table and tried same way which you have suggested but nos solution refer above graph i want 16-30 Days should be on second number.
Based on your picture, the data type of your sort order column is text, you need to change the data type to whole number.
Then refer to the steps danextian offered, it should can work.
If the solutions danextian and i offered help you solve the problem, you can considet to accept them as solutions so that more user can refer to.
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Unless Sorting order will availalbe in how this is possbile visual to sort
Hi @smishra99acres ,
You can create custom sort in Power BI using a column.
there are so many threads on this forum regarding this. See if the following helps:
https://community.fabric.microsoft.com/t5/Desktop/Custom-Sorting-in-PowerBI/m-p/126534
Also there is a blog about custom sorting in Power BI:
https://radacad.com/sort-a-column-with-a-custom-order-in-power-bi
Hope this helps.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 64 | |
| 32 | |
| 31 | |
| 27 |