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
Wresen
Post Patron
Post Patron

Measure that only effects total sum

Hi and thx for reading this.

 

I have a simple table with 3 columns , Item , customer code and Sales (a whole number)

I put it in a Matrix table and it looks like this:

Matrix T.PNG

I would like to do a measure that checkes the Total Sum, it should be >=12

If i do this measure : 

Measure = if(sum('Table'[Sales] )>=12,SUM('Table'[Sales]))  , i get this resualt:

Matrix mea.PNG

What i want is the measure to only do >=12 on Total level , not on customer code. (so i want to se the values that builds up to 13 in total for B2 and the values that builds up to the sum 16 in total for C1
 
 
/Thanks 
 

 

1 ACCEPTED SOLUTION

6 REPLIES 6
Ahmedx
Super User
Super User

pls try this

Screenshot_1.png

Hi @Ahmedx 

Thanks so much for the suggestion. 
My main thing here is to filter away the customer code (since in the main data there is alot of them)
So i dont want to see in this case A1 at all, but all the values that build up B1 and C1 as you have .
/Thx

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

Sorry if i was not clear enough

This is the resualt i am looking for.

resu2.PNG

 

/thanks

pls try htis

Screenshot_1.png

Thanks so much @Ahmedx  for you help 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.