Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get 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 |
|---|---|
| 103 | |
| 81 | |
| 65 | |
| 50 | |
| 45 |