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
can anyone help me with this if condition whats wrong in it ?
Thank You , am gonna try it
@Anonymous I think you just need to use lower case "t" for your then, so then, not Then. M is picky about casing.
@Anonymous
The formula you are using is supposed to be used as a new column in the Power BI data model table. you are trying to apply in Power Query. In power query, you need to use all simple cases like
if ___ then ___ elseif ___ else ____
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 |
| User | Count |
|---|---|
| 13 | |
| 12 | |
| 9 | |
| 8 | |
| 7 |