Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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"
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.