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
EKI
New Member

Dax formula

Dear all,

I'm new to the Power BI environment so be patient with me.

 

I have created a report for my project financial overview.

I have a matrix table where the rows are the project hierarchy (main and subs) in a nested layout.

EKI_1-1729857141467.png

 

In columns i have the Contracted amount, Invoiced amount, budget, costs etc.

EKI_2-1729857191920.png

 

Now i have created a measure that will calculate the unbilled amount based on my cost progress (if result=<0,0,result). 

My issue there is that in the total row of the table it will not sum the results of the lines (Green) but it will calculate the value based on the total line results (Red).

EKI_3-1729858000179.png

 

Does anyone knows a trick or a different type of calculation i could make, in order to not change the visual i have currently? 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @EKI ,

 

Do you mean that the total of the measure column is incorrect? I recommend you create another measure with SUMX function and use it in matrix. The measure column with the correct total should then appear, you just need to hide the original measure column.

Measure = SUMX('Table',[Unbilled amount])

vmengmlimsft_0-1730085844177.png

 

If I'm not understanding the problem correctly, please provide more information such as sample data, dax of measure or link of pbix file.

 

 

Best regards,

Mengmeng Li

lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information. Do not include anything that is unrelated to the issue or question.

Need help uploading data? https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

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.