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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.