Forum Discussion
Gianluigi
Helper II
3 years agoNew measure
Hello excuse the question. I would like to create a new measure. After giving the name after the = sign I write in DAX. I can't figure out how to wrap by creating automatic line numbering to write o...
Gianluigi
Helper II
3 years agoHello
For example, this code
1 var1 =
2 VAR _WorkStart =
3 TIME( 8; 00, 0 )
I copied and pasted it. If I want to write it I type var1 = then I would like to wrap so that you number the second line ect. Ect. After writing var1 =
Anonymous
3 years agoNot applicable
Hi Gianluigi ,
I think 1 should be the name for first var, you need to add a space between it and VAR function.
Your code should look like as below.
Dax =
VAR 1 = ...
VAR _WorkStart = TIME(8,0,0)
RETURN
...
If this reply still couldn't help you solve your issue, please share a sample file with me.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.