Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello All,
I'm hoping some may be able to help, I'm looking to create a DAX measure that replicates the AVEDEV (excel function). I want to find the AVEDEV of the "Fail Rate 2" measure with an average taken for the previous 180 days.
Thank you,
D
Try
Ave dev =
VAR Avg180Days =
AVERAGEX (
WINDOW (
-179,
REL,
0,
REL,
ALL ( 'Date'[Date] ),
ORDERBY ( 'Date'[Date], ASC )
),
[Fail Rate 2]
)
VAR CurrentFailRate = [Fail Rate 2]
VAR RESULT =
ABS ( CurrentFailRate - Avg180Days )
RETURN
Result
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
11 | |
8 | |
8 | |
8 |