Forum Discussion
Yamabushi
Helper I
3 years agoCALCULATE with month names
Hi, I'm having a hard time understanding why a measure isn't working. I'm using the AdventureWorks DW If I try this measure, the filter context isn't changing: _TotalSalesByYear = CALCULATE([_...
amitchandak
Super User
3 years agoYamabushi , Try meausres like
This Year = CALCULATE([_TotalSales],filter(ALL('DimDate'),'DimDate'[Year]=max('DimDate'[Year])))
This year Sales = CALCULATE([_TotalSales],DATESYTD(ENDOFYEAR('DimDate'[Date]),"12/31"))
Why Time Intelligence Fails - Powerbi 5 Savior Steps for TI :https://youtu.be/OBf0rjpp5Hw
https://amitchandak.medium.com/power-bi-5-key-points-to-make-time-intelligence-successful-bd52912a5bd4
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.