Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! 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