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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
MDean
New Member

Same measure - Different Results on two cards

I am trying to figure out what I am missing here. I am using the same measure to total the % complete but receiving different results. 

measure used: 

Training %Complete = COALESCE([Completed Assignments]/[Total Training],0)

MDean_0-1712143668942.png

 

3 REPLIES 3
MDean
New Member

Thank you, I set up the filters to match, but I'm still receiving a different result. 

 

MDean_0-1712160690946.png

 

First, thanks for @Greg_Deckler  help.

Hi, @MDean 

You can refer @Greg_Deckler reply, if the data is incorrect, the probability is the effect of contextual filtering, you can convert the visual object of the pie chart into a table to see if the data contained therein is the same as what you need, and if not, you can modify your measure; or you can provide a pbix file with no sensitive data for test use.

vyaningymsft_1-1712823395294.png

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

Greg_Deckler
Super User
Super User

@MDean So it's almost certainly the result of context. Check the Filters pane for each visual and make sure they are the same. Also, the same measure when used in a Card visual will have everything in context versus if you use it in different visual that has a legend or axis then the context will be filtered by that legend or axis.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.