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 everybody!
I am currently trying to sort the data on my graph (on the x-axis) in a certain way but it doesn't seem to work.
Currently my graphs show data like this (x-axis):
01, 02, 03, ..., 12, CF02, CY17, Target
But I want them do be displayed in this order:
CY17, 01, 02, ..., 12, Target, CF02
So I created a new table, assigned a number to each value and created a relationship to my basedata. Then I used "related" function in my basedata to assign the numbers to the respective entry.
However, this is what BI does:
Can somebody tell me why it doesn't work? I looked this approach up on the internet and it should work like this...
Thank you for your help!
Solved! Go to Solution.
Hi @Landmann,
May be you could try this way without creating a new table. By the steps below you could get your expected order.
1. Go to Query Editor, add a conditional column.
2. Apply && Close. Go to Data View and select column1 sort by custom column, then you could create the visual.
Hope this can help you!
Best Regards,
Cherry
Hi @Landmann,
May be you could try this way without creating a new table. By the steps below you could get your expected order.
1. Go to Query Editor, add a conditional column.
2. Apply && Close. Go to Data View and select column1 sort by custom column, then you could create the visual.
Hope this can help you!
Best Regards,
Cherry
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 |
---|---|
75 | |
68 | |
54 | |
37 | |
35 |
User | Count |
---|---|
66 | |
66 | |
59 | |
53 | |
45 |