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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have the formula below that works fine when I check the filter : "Revised cleared periods"
the formula goes like this:
Thanks for the quick response.
var _max showed no errors but when integrating with var _min it reflected an error.
Anyway, I got an alternate solution (but I might go back to your solution at some point).
@bgonen7 , You need create a measure like
example
3 Months=
var _max = maxx(allselected(date),date[date]) // or today()
var _min = date(year(_max), month(_max)-3,1)
return
CALCULATE([Avg Receipts],filter(date, date[date] <=_max && date[date] >=_min))
User | Count |
---|---|
97 | |
73 | |
69 | |
43 | |
23 |