This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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))
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 37 | |
| 28 | |
| 28 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 37 | |
| 32 | |
| 28 | |
| 24 |