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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
JRock2326
New Member

Summation Help

Hello,

I'm having some trouble getting the proper total on my table visualization.

 

My measure is below:

 

Screenshot 2023-05-21 at 10.23.30 PM.png

 

I would like my table to show the simple_valuation except in a few specific scenarios (in which case I would like it to show contributions). My visual is showing the correct data but I can't figure out a way to SUMX it all properly.

 

Screenshot 2023-05-21 at 10.30.01 PM.png

Thanks for taking a look!

2 REPLIES 2
JRock2326
New Member

Thanks Ahmedx. I wasn't able to figure out the measure. Instead, I found a less elegant solution: I did the comparrision part of the measure (the "valuation" variable) in SQL and created a view to bring into PowerBI.

 

Thanks again!

Ahmedx
Super User
Super User

you need to create another measure and there
use function SUMX

= SUMX ( 'tbl', [Valuation])

---- 'tbl' it depends what columns you have in your matrix------

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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