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
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.

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.

Top Solution Authors
Top Kudoed Authors