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!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 35 | |
| 24 | |
| 22 |
| User | Count |
|---|---|
| 134 | |
| 107 | |
| 57 | |
| 43 | |
| 38 |