cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Danch89
Frequent Visitor

MTD values gives incorrect Grand Total

I have a matrix with MTD calculation. In the grand total at the right hand side it always shows the latest months value rather than a sum of all columns?

 

Is it possible to show the Total as total of columns when using MTD calculation?

 

Calculation is  =  CALCULATE('Measures Table'[Sales Budget],DATESMTD('Date'[Date]))

 

Danch89_0-1647944477502.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Danch89 , MTD usually show last month MTD in total

 

in this case, you can use [Sales Budget]

 

Or try a measure like

sumx(values('Date'[Month Year]) , CALCULATE('Measures Table'[Sales Budget],DATESMTD('Date'[Date])))

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Danch89 , MTD usually show last month MTD in total

 

in this case, you can use [Sales Budget]

 

Or try a measure like

sumx(values('Date'[Month Year]) , CALCULATE('Measures Table'[Sales Budget],DATESMTD('Date'[Date])))

Helpful resources

Announcements
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!

Top Solution Authors