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 am new to Power BI and I need help with the syntax, please. I am trying to add a new custom column, and although there are no errors detected at the bottom, I am seeing an expression error at the top. Please refer to the image below.
Solved! Go to Solution.
@hongho2 You seem to be writing DAX in Power Query (M). The proper syntax for M (and yes, case matters) is:
if [Purchase Office] = [New Purchase Office] then "T" else "F"
@hongho2 You seem to be writing DAX in Power Query (M). The proper syntax for M (and yes, case matters) is:
if [Purchase Office] = [New Purchase Office] then "T" else "F"
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 7 | |
| 4 | |
| 4 | |
| 3 |