Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
How can I create a measure?
I would like to sum "Revenue" and "Margin" by "Customer" and add a filter by sum results for "Margin" (i.e. Margin > 0, Margin <=0)
This is the raw table
My goal is to make the table like this out of above data.
@Shimpei , Create a measure like
BU Customer = calculate(Sum(Table[Margin]), filter(allselected(Table), Table[Customer] = max(Table[Customer]) && Table[business Unit] = max(Table[business Unit]) ))
Postitive = calculate(Sum(Table[Margin]), filter( Table, [BU Csutomer]>0 ) )
Negative= calculate(Sum(Table[Margin]), filter( Table, [BU Csutomer]<0 ) )
Thank you.
One thing that I would like to achive is that I want to filter based on whether the margin is posive for "Business Unit 1" or not. Right now it is filtering the positive and negative for each business unit, but is there anyway that I can filter based on Business Unit 1 results?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 97 | |
| 71 | |
| 50 | |
| 46 | |
| 44 |