Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I want to be able to get the amount for same day last week from the same store per row, below is a simple illustration. Note: The report I am creating is on import mode. Would appreciate your response!
Solved! Go to Solution.
Hi @Anonymous ,
For your desired output, please try the measure below.
Measure = VAR max_ = MAX ( 'Data'[Date] ) RETURN CALCULATE ( MAX ( 'Data'[Amount] ), FILTER ( ALL ( 'Data' ), 'Data'[Store] = MAX ( 'Data'[Store] ) && 'Data'[Date] = max_ - 7 ) )
Here is the output.
Hope this can help you!
Best Regards,
Cherry
Hi @Anonymous ,
For your desired output, please try the measure below.
Measure = VAR max_ = MAX ( 'Data'[Date] ) RETURN CALCULATE ( MAX ( 'Data'[Amount] ), FILTER ( ALL ( 'Data' ), 'Data'[Store] = MAX ( 'Data'[Store] ) && 'Data'[Date] = max_ - 7 ) )
Here is the output.
Hope this can help you!
Best Regards,
Cherry
User | Count |
---|---|
80 | |
74 | |
63 | |
61 | |
45 |
User | Count |
---|---|
108 | |
98 | |
89 | |
82 | |
61 |