Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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"
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 1 | |
| 1 | |
| 1 |