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

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.

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.


@ 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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors