Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I want to create a conditional column based on 2 columns. I can use AND OR fine, however is there an inlist equivalent?
Example if [C1] = 201 And [C2] InList (105,106) then [Value1] Else [Value2].
Any help would be appreciated. 🙂
Solved! Go to Solution.
Something like
=if(c1 = 201 && c2 in {105,106), [Value1],[Value2])
That should work
Something like
=if(c1 = 201 && c2 in {105,106), [Value1],[Value2])
That should work
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 47 | |
| 35 | |
| 27 | |
| 15 | |
| 15 |
| User | Count |
|---|---|
| 58 | |
| 56 | |
| 38 | |
| 21 | |
| 21 |