Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Can someone please help me with the error on the attached picture? It seems as though I'm missing something simple, but can seem to be able to get the syntax right.
Solved! Go to Solution.
@Anonymous , you have " sign on wrong place (in front of field name).
"[MRP Type]="ND" then ...
it should be
[MRP Type]="ND" then ...
Regards,
Nemanja Andic
@Anonymous , you have " sign on wrong place (in front of field name).
"[MRP Type]="ND" then ...
it should be
[MRP Type]="ND" then ...
Regards,
Nemanja Andic
That was it! Can't believe I didn't catch that. Thank you!!
@Anonymouscan you try it like this
if ([Index]=1 and [val]<>null) then 1 else if ([Index]>1 and [val]<>null) then 2 else 0
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 3 |