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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 42 | |
| 41 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 150 | |
| 106 | |
| 65 | |
| 36 | |
| 36 |