Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
93 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |