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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
JMuirhead28
New Member

Incorrect Measure Total on Matrix

Hello,

I have a matrix in a report that contains a number of measures, unfortunately the measure total is incorrect for each one. I have been trying to find a solution but have so far had no luck, hence I am turning to the community to help.

I unfortunately cant post the file as it contains business sensitive information, but will do my best to explain without it.

Below is my final matrix, which has the correct monthly values but incorrect total:

JMuirhead28_0-1693485157593.png

 

This is the formula used for each measure:

 

Reforecast_Value_Ardley =

CALCULATE(SUM(Anaplan_Electricity_Revenue[Value]), Anaplan_Electricity_Revenue[PPM_Name]="Ardley ERF", Anaplan_Electricity_Revenue[Version]="Budget FY24", Anaplan_Electricity_Revenue[Value_Type]="Electricity Revenue - Grid")+

((CALCULATE(SUM(Volume_Hierachy_Final[Total_Volume]), Volume_Hierachy_Final[PPM_Name]="Ardley ERF") - CALCULATE(SUM(Anaplan_Volume_Daily[Value]), Anaplan_Volume_Daily[PPM_Name]="Ardley ERF", Anaplan_Volume_Daily[Version]="Budget FY24"))*

AVERAGE(Reforecast_Power_Price[Reforecast_Price]))


The formula filters tables and sums the data, then multiplies the data by a monthly price.

I have been scouring the forums and it seems like the HASONEFILTER could be used to help with this issue, but I cant seem to get it to work.

Let me know if any more information is required.

Any help would be greatly appreciated.


Thanks in advance,
Josh

1 REPLY 1
JMuirhead28
New Member

All, 

I have managed to resolve the issue with the total. Rather than using a simple multiplication, I created a measure for the middle subtraction and then used SUMX to multiply this value by the price and it has worked.

Cheers,
Josh

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.