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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 54 | |
| 40 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 96 | |
| 83 | |
| 36 | |
| 30 | |
| 25 |