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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.