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 everybody,
im looking for a measure that can do the following.
If column A contains 0 and Column B contains 1 then show me the cost that is stored in Column C.
i tried filters but that didnt give me the right outcome. Can somebody help me with this.
Kind regard,
Charaf
Solved! Go to Solution.
calculated column= if(Table[A] = 0 && Table[B] = 1;Table[C]; blank())
measure = calculate(sum(table[c];Table[A] = 0,Table[B] = 1))
You didn't specifiy what your measure should do if just A is 0 or just B is 1.
Nor did you specify what it should do if the condition is false. This should work though:
measure = if(Table[A] = 0 && Table[B] = 1;Table[C]; Table[A])
it most show the cost that is in another column. if it not match the value, dont show the cost.
@Anonymous thanks for your helping hand.
calculated column= if(Table[A] = 0 && Table[B] = 1;Table[C]; blank())
measure = calculate(sum(table[c];Table[A] = 0,Table[B] = 1))
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 |
|---|---|
| 52 | |
| 51 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |