Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
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.
| User | Count |
|---|---|
| 63 | |
| 62 | |
| 42 | |
| 19 | |
| 16 |
| User | Count |
|---|---|
| 118 | |
| 106 | |
| 38 | |
| 28 | |
| 27 |