Forum Discussion
Top N Selection and Ranking vs Drill down
- 6 years ago
Hi Uma_Dhandpani ,
Assuming the column which contains "Proposed", "Actual", "Invoice" is named "column1", and the column which has been dragged into Values box of Matrix visual is named "Value", you may create columns in table Table2 like DAX below.
Top N Rank = RANKX(FILTER(Table2, Table2[column1]=EARLIER(Table2[column1])),Table2[Value],,DESC ,Skip)Then you can put the new column [Top N Rank] into Visual level filter of Matrix visual, set its values to "less than or equal to N", the N may be 1,2,3 or other values.
If I misunderstood it, could you please share your sample data and desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Uma_Dhandpani ,
Assuming the column which contains "Proposed", "Actual", "Invoice" is named "column1", and the column which has been dragged into Values box of Matrix visual is named "Value", you may create columns in table Table2 like DAX below.
Top N Rank = RANKX(FILTER(Table2, Table2[column1]=EARLIER(Table2[column1])),Table2[Value],,DESC ,Skip)
Then you can put the new column [Top N Rank] into Visual level filter of Matrix visual, set its values to "less than or equal to N", the N may be 1,2,3 or other values.
If I misunderstood it, could you please share your sample data and desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.