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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
KhaledEid
Frequent Visitor

The total of a measure subtracting two measures in a table visual not correct

I have two calculated measures(A, B)  that are well presented in a table with correct totals.  I need to create a new measure (C)  that subtracts A from B and presented in the same table visual.
 the table is categorized by Calendar Table and all numbers in all rows are correct except the sum of measure C

Any Clue

KhaledEid_0-1641219190877.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@KhaledEid , Need measure formula to check ,

 

but try a measure like

sumx(values('Date'[Month year]) ,[Budgeted_Salaries ] -[Net_salaries])

 

refer , why grand total is wrong

https://www.youtube.com/watch?v=ufHOOLdi_jk

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@KhaledEid , Need measure formula to check ,

 

but try a measure like

sumx(values('Date'[Month year]) ,[Budgeted_Salaries ] -[Net_salaries])

 

refer , why grand total is wrong

https://www.youtube.com/watch?v=ufHOOLdi_jk

brilliant, thank you very much

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.