The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi,
I'm new to PowerBI/DAX and not sure why I'm getting the syntax message after creating a new measure and starting to create a vairable.
Not sure why this happens straight away. I haven't used any curly brackets which was the issue with another user that had the same message.
Don't understand why I'm getting this message. Any idea's?
Solved! Go to Solution.
Hi @Rashidb84,
Please try adding RETURN LastMove_ to the end of the statement.
FlagZERO =
VAR LastMove_ = SELECTEDVALUE(ME2N_in_YSPOcombined[Last move])
RETURN LastMove_
Hi @Rashidb84,
Please try adding RETURN LastMove_ to the end of the statement.
FlagZERO =
VAR LastMove_ = SELECTEDVALUE(ME2N_in_YSPOcombined[Last move])
RETURN LastMove_
Hi KhaiT,
Thank you very much!!!
I just tried it and adding the Return function indeed make the error go away.
User | Count |
---|---|
25 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
12 | |
10 | |
10 | |
9 |