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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
NSain1
Frequent Visitor

How to calculate the difference between two card values no matter the source of the card values

I have 2 card visuals with different values.  Is it possible to create a simple math forumla using those two card values and putting the answer in a 3rd card value without manipulating rows and or columns in the data source and going to a ton of trouble?

The 2 card values are coming directly for a SQL server if that helps.  

 

Thank You.   

5 REPLIES 5
v-lionel-msft
Community Support
Community Support

Hi @NSain1 ,

 

It is indeed possible.

It is a very common practice to reference between measures.

If you encounter problems during the implementation, you can provide a sample data and tell us what you want to calculate.

 

Best regards,
Lionel Chen

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

So I understand how to create measures, but the datasets currently have no relationship so using measures isn't going to work at this point.  Back to my original question.

I need to perform a basic math calculation using the numbers in 2 cards.  Assuming measures will not work based on what I said is there another way?

 

Thanks

Hi @NSain1 ,

 

Please give us a sample data model and show us what you want to calculate.

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

yes, by creating 3 measures. 

 

The first 2 for populating the 2 cards, the third that reference the first 2.

 

Without additional details it's impossible to know what kind of calculation you'll need, so if you post some additional detail it might help.

OK.  I'll try that and report back.  Thank You!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.