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])))



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

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])))



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors