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
F75
Advocate I
Advocate I

Multiple dimensions, calculate TOTALMTD vs DATESMTD vs DATEADD

Hi, I have data with multiple dimensions - company, cost center , product and scenario (Actual, Plan). I tried using function 

MTD = TOTALMTD(SUM(GLData[ActualAmount]),DimDate[Date])

and it does not seem to work. 

 

Here is the Table structure for GLdata and DimDate. Relationship is active between GLData[DateCal] and DimDate[Date].

 

In the report i have FiscalPeriod(Month) and next levell is Week#. What am i missing?

GLdata.JPG

 

DimDate.JPG

 

Relation.JPG

 

Result.JPG

 

 

 

 

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

 

Share the link from where i can download your file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Here it is. https://docs.google.com/spreadsheets/d/1pJ2P1aCMu0mptDl2xJIWHXF8G0dcNfk_ZcJbr18eRuU/edit?usp=sharing

 

I have week#, and i am using this to calculate DateCal.

Thanks

Hi,

 

Share the download link of the PBI desktop file, not the Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Interkoubess
Solution Sage
Solution Sage

Hi @F75,

 

Could you please share your data ( easy to manipulate) because with the printscreen it is not easy and I will make some try.

 

Thank you.

 

Ninter

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.