Forum Discussion

pallavinegi's avatar
pallavinegi
Frequent Visitor
3 years ago
Solved

Minimize the formula

  • Anonymous's avatar
    Anonymous
    3 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

    Power bi average last 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

6 Replies