Forum Discussion
NidhiBhusari
4 years agoHelper IV
Unable to get correct values using Time Intelligence functions
Hi Fam, I need to calculate YTD, QTD & MTD sales depending on the date selection done in the slicer. Also, I want to do calculations for the exact same time frame selected in the slicer. Steps ...
onurbmiguel_
4 years agoPower Participant
Hi again,
At least can you share your measure?
Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! ;-
Best Regards
BC
- NidhiBhusari4 years agoHelper IV
PY Sales --> CALCULATE(SUM(SALES), SAMEPERIODLASTYEAR(DATESYTD(CALENDAR(Date)))).
CY Sales --> CALCULATE(SUM(SALES), DATESYTD(CALENDAR(Date)))