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! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 27 |
| User | Count |
|---|---|
| 135 | |
| 102 | |
| 67 | |
| 65 | |
| 56 |