Forum Discussion
TotalMTD Function Not Working As Intended
- 2 years ago
Hi AJTK
Have you set your calenadar table as a Date table?What are you trying achieve by having the ALL('Production Table'[Production Date]) at the end of the measure?
TOTALYTD MTD need a date context to work.Example. TOTALMTD([Measure_Total Poduction],'DimCalendar'[Date]) will show balnk if there is no date filter on the page or no date context in the visual. Lets say if you choose a date range between Nov 23 and March 24 in a date filter/slicer, you will get MTD for March 24, but if you have a visual with dates in it, you will get the MTD to end of each month visible in the visual.
I hope this clears up what you need.
Thanks
Joe
If you found my answer helpful and it solved your issue, please accept as solution
Hi AJTK
Have you set your calenadar table as a Date table?
What are you trying achieve by having the ALL('Production Table'[Production Date]) at the end of the measure?
TOTALYTD MTD need a date context to work.
Example. TOTALMTD([Measure_Total Poduction],'DimCalendar'[Date]) will show balnk if there is no date filter on the page or no date context in the visual. Lets say if you choose a date range between Nov 23 and March 24 in a date filter/slicer, you will get MTD for March 24, but if you have a visual with dates in it, you will get the MTD to end of each month visible in the visual.
I hope this clears up what you need.
Thanks
Joe
If you found my answer helpful and it solved your issue, please accept as solution