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
Hello,
I need to add up some values, excluding some categories belonging to the same column.
I need to calculate the value of Commit (Column 2), excluding Won and Lost Sales Stages and including Pursuit and Negotiation Sales Stages (Column 3). How can I calculate this with a ? Thank you!
Here is the example:
| Product | Target vs commit vs other | Sales Stage | Value |
| xxx | Target | Pursuit | 12 |
| yyy | Commit | Negotiation | 14 |
| aaa | Commit | Pursuit | 2 |
| bbb | Other | Lost | 5 |
| ccc | Commit | Won | 6 |
Solved! Go to Solution.
Hi @erimaz ,
Create this measure:
If you consider it as a solution, please mark as a solution and kudos.
Ricardo
@erimaz , Try like
new Measure = CALCULATE(SUM('Table'[Value]),
FILTER(Table, Table[Target vs commit vs other] = "Commit"
&& NOT (Table[Sales Stage] IN {"Won", "Lost Sales"})
&& (Table[Sales Stage] IN {"Pursuit", "Negotiation"}))
)
Hi @erimaz ,
Create this measure:
If you consider it as a solution, please mark as a solution and kudos.
Ricardo
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!