Forum Discussion
Renaming Field-Parameter issue
- 3 years ago
I does look like a bug, I agree.
BTW I wasn't trying to imply that a calculated column is "better" (normally it is advisable to avoid calculated columns where possible, so writing the code into the table constructor is probably better). I was suggesting an alternative way to include the columns as per the original poster's needs seeing as changing the column name wasn't working.
I'm getting the same behaviour: it won't let me rename the columns.
I can create a new column once loaded for Category as follows:
Can't you use the SWITCH function and reference the Parameter[Order] field to assign the values? Or use a different DAX expression to return the values?
After all you are assigning them manually with the table constructor { }
Yes, this could be a workaround in my case.
However, it seems to be a bug of the new version of Power BI. I tried to download a previous one (September's version) and it worked.
Thanks again for your help! 🙂