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 line graph with X axis Year&Quarter, in Y axis Attrition % , and in legends 10 regions.
now let say in current year region 3 4 5 is having highest attrition %. i want to show only these three regions line graph.
in my graph it is showing the top 3 region in that particular year and quarter?
Solved! Go to Solution.
Create measures
Rank = RANKX(FILTER(ALL(Sheet4),[year]=MAX([year])),[sum],,DESC,Dense) show top3 2018 = IF(MAX([year])<>2018,1,IF(MAX([year])=2018&&[Rank]<=3,1,0))
Assume [sum] is a measure to show Attrition % of each region in each year.
Then add [show top3 2018] in the Visual Level filter and apply "show item when value is 1"
Best Regards
Maggie
Create measures
Rank = RANKX(FILTER(ALL(Sheet4),[year]=MAX([year])),[sum],,DESC,Dense) show top3 2018 = IF(MAX([year])<>2018,1,IF(MAX([year])=2018&&[Rank]<=3,1,0))
Assume [sum] is a measure to show Attrition % of each region in each year.
Then add [show top3 2018] in the Visual Level filter and apply "show item when value is 1"
Best Regards
Maggie
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 |
---|---|
106 | |
97 | |
80 | |
67 | |
63 |
User | Count |
---|---|
147 | |
110 | |
108 | |
85 | |
64 |