Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

DAX calculating row total (average) incorrectly

I'm not exactly sure why the row total for MC2 is being calculated incorrectly. I created a DAX expression called Induration Delta which calculates the average value for "APC ON" and "APC OFF". I want to find the delta (APC ON - APC OFF) but it should return blank if one of the two don't exist.

 

Thanks in advance!

 

SchruteFarms_0-1682471449960.png

 

1 REPLY 1
tamerj1
Super User
Super User

Hi @Anonymous 

please try

Induration Delta 2 =
AVERAGEX (
SUMMARIZE (
IndurationStates,
IndurationStates[Machine],
IndurationStates[TonsBin]
),
[Induration Delta]
)

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.