Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a Matrix table with the following setting
Rows: Customer
Columns: Year
Value: Sales Amount
I set a visual filter based on Top 20 Customer By Sales Amount as shown below;
How can i set the ranking based on year 2018?
Currently, the ranking is based on the total value of year 2016 + 2017 + 2018.
Thanks
Solved! Go to Solution.
Hi,
Finally, managed to do that using the formula you provided.
I need to put the Rank field after the Sales value and sort it ascending. Then hide the entire Rank column and it works!
Thanks.
Try this MEASURE
RANK = RANKX ( ALLSELECTED ( TableName[Customer] ), CALCULATE ( SUM ( TableName[SalesAmount] ), TableName[Year] = 2018 ), , DESC, DENSE )
But how do i sort by using this Rank?
The sort by column is disabled when i highlight this meansure in my query list,
Thanks.
Are the rankings correct?
Could you show a screenshot? I want to understand what exactly is the sorting problem?
Yes, the ranking seems to be correct, but i am unable to sort it accordingly based on the rank as shown below:
HI,
Any idea how I can sort the Matrix table by year 2018? I am still unable to find any way that it can be sorted by year 2018. By deafult, it will automatically be sorted by the total aggregation of the year value.
Hi @roytap
I tried it as well..
I am unable to sort in a Matrix too
May be you can use a TABLE visual
Hi,
Finally, managed to do that using the formula you provided.
I need to put the Rank field after the Sales value and sort it ascending. Then hide the entire Rank column and it works!
Thanks.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |