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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
JorgeCervantes
Frequent Visitor

I need help displaying information over a Matrix Table

Hi Everyone, 

 

I hope to find you all well, I have the following table:

 

Part NumberLast PriceStandard PriceVolumeBalance

Part 1

10910-10
Part 211131530
Part 312108-16
Totals333233X

 

If I leave the measurement be, the balance will do the totals calculation:  

 

(32-33) * 33 = -33

 

Which is not correct. So, last time, the problem was that the balance was not calculating correctly, I did some digging and found the solution was to add a SUMX expression to a different calculation, somthing like this: 

Final Measure = SUMX(Table, Original Measure)

 

I feel I have to give full context so that we are all on the same page, the exercise I'm doing is the calculation of the cost of materials in my plant, so we have last prices every month, I made a calculation so that whenever you chose a date it will always give you the last price. So now we basically have all the pieces of the puzzle, I just need one more things.

 

I need the final results on a Matrix Table, something like this

 

CategoryJanFebMar...
ImpactFinal Result JanuaryFinal Result FebruaryFinal Result MarchFinal Result for the Remaining Months

 

Does anyone know how to do this?

 

Thank you. Best Regards

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @JorgeCervantes ,

 

As far as I know, if the [Month] column is related to your data table, the balance measure should work. You can also try SUMX() function.

Balance = SUMX('Table',('Table'[Standard Price] - 'Table'[Last Price]) * 'Table'[Volume])

My Sample:

vrzhoumsft_0-1728611351218.png

vrzhoumsft_1-1728611360283.png

Result is as below.

vrzhoumsft_2-1728611376509.png

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @JorgeCervantes ,

 

As far as I know, if the [Month] column is related to your data table, the balance measure should work. You can also try SUMX() function.

Balance = SUMX('Table',('Table'[Standard Price] - 'Table'[Last Price]) * 'Table'[Volume])

My Sample:

vrzhoumsft_0-1728611351218.png

vrzhoumsft_1-1728611360283.png

Result is as below.

vrzhoumsft_2-1728611376509.png

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

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.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors