Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
YunJ
Post Prodigy
Post Prodigy

Wrong number when filter top10

Hi, 

I have a table,  I only want 10 top media spending products after filtered by these four slicers.

1.png

Then, I made a product slicer, also these 10 top products.

2.png

Then I made this bar chart, I also want these 10 top products when product slicer = all. Also, the Format1 slicer will not influence this bar chart so that it can be distinguished by Format1 with different color. 

However, the value of current bar chart is not correct, for example, when format1=ZTC, the table Total value is 54313 which is correct, but the bar chart is 0.53M which is definitely not correct.

Any solution to fix this? The pbix is attached: 

https://www.dropbox.com/s/i3e7xe0658n5jn0/Spend.pbix?dl=0

3.png

Thanks a lot for your kindly help.

 

3 REPLIES 3
amitchandak
Super User
Super User

@YunJ , Value on your table visual is also nearly .5 M. I do observe a small difference in file. Is because filter or some blank data not sure on that.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak I transfered the bar chart to a new table. and I found for Format1:ZTC, there are only 9 products (a32 not appeared). I think that's the problem. Is there any solution to fix that?1.png

@YunJ , In one visual top 10 based on all 4 filters. And Second Visual , it is based on only 2 filters.

 

Try using Rank. But rank is context-sensitive. So Try sun category Rank. Refer the first link for that


https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors