Forum Discussion
Anonymous
3 years agoNot applicable
Same Day Last Month
Hi, Today is 9th Oct 2023 but in measure i want to show data of 9th Sep 2023 and i want it using time intelligence functions please help.
- Anonymous3 years ago
Hi Anonymous ,
Based on your statement, I make a new expression You can check the result as follows:
Measure:
Last month same day = var _pre= EOMONTH(MAX('Table'[DATE]),-1) return DATE(YEAR(_pre),MONTH(_pre),DAY(MAX('Table'[DATE])))Perhaps this will work, and if you have any questions, please provide me a simple sample to make sure we can better solve the problem for you!
An attachment for your reference. Hope it helps.
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
3 years agoNot applicable
Thanks for reply.
It is showing 1st Sep 2023 to 9th Sep 2023 data but i want to show only 9th Sep 2023 data
Dangar332
Resident Rockstar
3 years agohi, Anonymous
try below
CALCULATE(
maxx(filter('calender table',CalendarTable[Date]'),[YourMeasure]),
DATEADD(CalendarTable[Date], -1, MONTH)
)