Forum Discussion
estefaniamc
8 years agoFrequent Visitor
TOPN in graphs/Dynamic
Hi all, I would like to display a bar graph only with top 5 values. I am using the advance filtering to show only the top values, but then when I filter in a different graph to show the top 5 va...
- 8 years ago
Hey,
here you will find a pbix file.
I changed the DAX of the measure that ranks the customer (guess this is what you call Payer) to
GroupRank = RANKX( ALLSELECTED(Table1[Customer]) ,CALCULATE(SUM(Table1[Amount])) )
And I also changed the Interaction Setting of the chart showing the Top 5 Customer to filter
Mark the Chart showing the countries: Menu Format, Toggle: Edit Interactions, Switch the Customer chart from Highligh to Filter, Toggle: Edit Interactions
Hope this is what you are looking for
Regards
Tom
CahabaData
8 years agoMemorable Member
Do you have a measure using the RANKX function?
If not, that is probably what you need - if I understand your post. There are some good tutorials & Q/A on this function.
If you need further assist, provide a short sample of your table.