Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello dear!
I need to order the columns of the chart according to the description of each one.
For example: the first column "Excellent", the second column "Great", the third "Good" and the fourth column "Terrible". I couldn't figure out a way other than the constants in the axis sort options.
Thank you very much in advance if anyone can help.
hi @amgelain ,
a column could be sorted by other column.
You would need a helper column. supposing you have a data table like:
Grade | Count |
Excellent | 10 |
Great | 20 |
Good | 50 |
Terrible | 10 |
try to
1) create a dimensional grade table like:
Grade | GradeID |
Excellent | 4 |
Great | 3 |
Good | 2 |
Terrible | 1 |
2) related data table and grade table
3) sort the grade[grade] column by grade[gradeID]
4) plot a bar chart with grade[grade] with data[Count]. The axis shall be sorted as you wish, like:
Hi,
I am not sure how your datamodel looks like, but one of ways to solve this is to have sort-order-column for the column that you want to use in the visualization. And then, sort it by the sort-order-column.
I hope the below link from Microsoft helps.
Change how a chart is sorted in a report - Power BI | Microsoft Learn
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
9 |