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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I am trying to create a measure that only calculates the sum before a specific date using the averageX function, could anyone advise me how I would specify this in the KEEPFILTERS part of the expression? I have been trying to simply put "<Date(2015,10,06)" after the (Master[Date]) and a few other things but nothing is working currently
This is the function I currently have
Solved! Go to Solution.
@Anonymous , Try
VAR VALUEZ = AVERAGEX(
Filter(values(Master[Date]), Master[Date] <Date(2015,10,06)),
CALCULATE(SUM('Master'[Order_Demand]))
)
That worked, thanks very much. Not sure why I insisted on continuing with KEEPFILTERS
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |