custom expression column name based on a condition

Hi All,



I have a custom expression column and I want it to display its name based on a condition.



For example, custom expression is as following: 

sum([gas_forecast]) / (1 + days(max([stdate]) - min([stdate]))) as [Full Year]



What I need is something like this: 

sum([gas_forecast]) / (1 + days(max([stdate]) - min([stdate]))) as [DocumentProperty"Date"]



However, anything in the brackets after "as" function is taken as a string value.

(1) Answer

Login