Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am sorting a table using a Rankx Column,
When i sort Descending, it works perfectly as below..
Ranking is numbered 4 through to 1 descendding.
But when i change the visual to sort Ascending
Ranking starts at 2 and there are two number 2's and no number 1
The data hasn't changed.
Any idea why sorting the visual differently causes this?
I am just changing the visual sort from descending to ascending, no change to filters or measures.
Is this a bug ??
Solved! Go to Solution.
Hi @Anonymous ,
Due to the connection mode and Power BI Desktop version, I cannot access your .pbix file.
Is your formula the same as mine?
If you cancel the aggregation of the [Units] column, is the sorting result correct?
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Due to the connection mode and Power BI Desktop version, I cannot access your .pbix file.
Is your formula the same as mine?
If you cancel the aggregation of the [Units] column, is the sorting result correct?
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hello, im having same problem, in my case there is only one table so no relationship issues and no aggregation
please shed some light here,as why it starts from 2?
@Linonel,
THANK YOU !!
You are right, its the aggregation causing the problem. I moved this from the RANKX to a seperate measure and now it works perfectly.
@Anonymous
Can you share the measure that you have used for ranking?
Better if you could a sample PBIX file to check further.
________________________
If my answer was helpful, please click Accept it as the solution to help other members find it useful
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
I have discovered that the visual diplays correctly if the data and visual are in the same PBIX.
When it displays incorrectly is when the data is in one PBIX and the visual is in another PBIX connected via a 'live connection'
Links to the two files are below:
https://1drv.ms/u/s!AtoYZpsBxPqIhsJuAbYU7VBgpRe_Ng?e=hIksyt
https://1drv.ms/u/s!AtoYZpsBxPqIhsJt7dOyiJniIrDUFQ?e=Zt1y2a
I have checked that the DAX query is the same for both.
Thak you, appreciate your help
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
71 | |
70 | |
43 | |
31 | |
26 |
User | Count |
---|---|
89 | |
49 | |
44 | |
38 | |
37 |