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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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