Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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"
User | Count |
---|---|
5 | |
5 | |
3 | |
2 | |
2 |
User | Count |
---|---|
9 | |
7 | |
5 | |
4 | |
4 |