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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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