Forum Discussion
Minimize the formula
- Anonymous3 years ago
Hi pallavinegi ,
Do you want to get the average value of last 7 days? If yes, you can refer the following thread to get it:
calculate average for past 7 days
Measure = CALCULATE ( AVERAGE ( 'Table'[Value] ), DATESINPERIOD ( 'Table'[Date], TODAY (), -7, DAY ) )If the above one can't help you get the desired result, please provide some raw(fake) data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi, thanks for the answer.
Actually, here is the condition which I want to apply, but could not achieve the result. I want to see the average for the date (today's date-7).
too little information. you may need to read this: