Forum Discussion
Anonymous
4 years agoNot applicable
Personalized Date Table Weeks with Index
Hello , i have to build a report , from data wich is manually asign the week (no date column , and sometimes with 6 weeks) That makes impossible use a date table I figured to use a index table an...
- 4 years ago
Hi Anonymous ,
According to your description, you want to get the last week's actual by the week index filter, here's my solution.
This is my sample data.
This is my measure.
Measure = CALCULATE ( MAX ( 'Table'[Actuals] ), FILTER ( ALL ( 'Index' ), 'Index'[ORDER] = MAX ( 'Index'[ORDER] ) - 1 ) )Get the expected result.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyjIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
VahidDM
Super User
4 years agoHi Anonymous
Please see this link:
https://www.vahiddm.com/post/weekly-time-intelligence-dax
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: www.linkedin.com/in/vahid-dm/