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
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?
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 |
|---|---|
| 38 | |
| 29 | |
| 28 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 66 | |
| 34 | |
| 32 | |
| 25 | |
| 23 |