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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Helper III
Helper III

Total of new measure not correct



I created a new measure for Est. Revenue which works fine in the rows, but the Total shows the incorrect value.


In this case I tried with SUMX, but it doesn't work either. 



Thank you.

Community Support
Community Support

Hi,  @thhmez7 

Please check if these thread can be helpful. 

Try to wrap a SUMMARIZE function within the SUMX function.

If it doesn't work ,please share a sample file for further research.


Best Regards,
Community Support Team _ Eason

Community Champion
Community Champion


With totals =
SUMX ( VALUES ( Account[Industry] ), [Est. Revenue] )

Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.

Super User
Super User

Hi @thhmez7 

I created a column instead of a measure with DAX code below, then I added this column to the chart and total was 51451

VAR D=CALCULATE(SUM(Table[Revenue]),ALL(Table),Table[Industry]="D")
VAR C=Table[Revenue]
Return IF(Table[Industry]<>"D",D+C,0)


Did it work ?  👌  Mark it as a solution to help spreading knowledge  👍  A kudos would be appreciated


do you use SUM of the revenue in VAR C?

It hasn't worked for me with the column.


@thhmez7 Var rev=Project[Est. Revenue]

Did it work ? 👌 Mark it as a solution to help spreading knowledge 👉 A kudos would be appreciated


No that expression in VAR rev is not allowed 😞

Super User
Super User

@thhmez7 , if D selected is not selected slicer you can create you measure like


calculate(sum(project[est revenue]), filter(account,account[industry] <> "D")) +0 

Helpful resources

Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.