Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
98 | |
77 | |
66 | |
53 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |