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.
Hello,
I have a dataset with four columns : Country, Year, Amount, Region. I created a bar chart ( the amount by country) and two slicers: one with the the year ( 2018 and 2019) and another according with the region (EU and latam).
I would to create a TOP 10 bar chart and put all others bars in another category called "OTHERS". The problem is that I dont know how to do that dynamically ( I succeded statically 😞 The bar chart has to display all the time the top 10 and the other category related with what I chose with the slicers.
can someone help me with this?
Thank you !!
Hi @Anonymous ,
I don't think you can do it in a bar chart because Measures can't be added to Axis.
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Refer
https://community.powerbi.com/t5/Desktop/Top-10-Other/td-p/51282
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
https://community.powerbi.com/t5/Community-Blog/Power-BI-Working-with-Non-Standard-Time-Periods/ba-p...
https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601
Hi @Anonymous
try to create a measure
Measure =
var r= RANKX('Table1';SUM('Table1'[Amount]))
return
if(r<11;SELECTEDVALUE('Table1'[Country]);"Others")
then place it to the bar chart instead of Country
do not hesitate to give a kudo to useful posts and mark solutions as solution
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 |
---|---|
114 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |