Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
If you use ROW to create a table and you use a variable for the column name segment Power BI will mark the variable as invalid with the red line. If you run the table it will still work.
However if you try to use a function to create the column name it will fail, e.g. if you use "Column" & "Name" instead of "ColumnName"
For example
Table = VAR _ColumnName = "ColumnName" RETURN UNION ( ROW ( _ColumnName, "A" ), ROW ( _ColumnName, "B" ) )
I am not sure if the behaviour about it failing when functions are used to define the column name is a bug but the error it creates when using variables for column names does look like one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.