Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have a measure that calculates 'Chargeback % Incurred' by month. I created a new measure called 'Rolling 3 Mo Avg' it looks at current month and the past 2 and returns an average accross the 3. This is where im getting stumped... I need to take the rolling 3 month minimum of the already rolling 3 month average. I'm not sure how to do a rolling minimum or max on a rolling average.
My example:
The MIN of the rolling 3 average - the 1.05% is the minimum of the past 3 months rolling 3 month average (2.21, 1.65, 1.05) the same the with the MAX column.
Chargeback % Incurred measure:
@sarhutson , Try if this can help
sample measure
Max 3 Month Avg = Maxx(Values('Date'[MONTH Year]), CALCULATE(AverageX(Values('Date'[MONTH Year]),calculate(Sum('Table'[Value)))
,DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-3,MONTH)) ,DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-3,MONTH))
Hey @amitchandak Im not sure if I did this correctly but I'm not seeing the results I would expect.
I would expect 2.21% for Jan 2023
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
56 | |
38 | |
34 |
User | Count |
---|---|
99 | |
56 | |
51 | |
44 | |
40 |