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
a simple sintaxe like this used to work.... i dont know its not working anymore after the few lastest updates
Teste= IF (BaseFat2[Cod custumer] IN (4433;1740;5808;5685) ; "shopping";"market" )
the IN statment is not working anymore, i cant even use OR... and i dont want to use multiple if conditionals
Can someone help me to solve this or build a new formula??
Solved! Go to Solution.
hi, try using this DAX
Test =
IF (
Table1[Codcustomer] = 4433
|| Table1[Codcustomer] = 1740
|| Table1[Codcustomer] = 5808
|| Table1[Codcustomer] = 5685,
"shopping",
"market"
)
hi, try using this DAX
Test =
IF (
Table1[Codcustomer] = 4433
|| Table1[Codcustomer] = 1740
|| Table1[Codcustomer] = 5808
|| Table1[Codcustomer] = 5685,
"shopping",
"market"
)
it worked -.-
do you know why " IF xxx IN (z,y,a,b)" stoped working?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 130 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |