Forum Discussion
Measure calculation with Matrix (Dates)
Anonymous , Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Are you trying to get same month data everywhere
The try
Full month = CALCULATE(SUM(Table[Profit]),DATESMTD(ENDOFMONTH('Date'[Date])))
month till date
MTD = CALCULATE(SUM(Table[Profit]),DATESMTD('Date'[Date]))
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
- Anonymous5 years agoNot applicable
amitchandak ,For exemple:
I have created an column "DateFull" that gets where de piece current is situated:
And my matrix:
And my Measure:
As we can see, the result in January is getting 1, but the result expected is 5 because all 5 is situated in January.