Jump to content

custom expression column name based on a condition


Masail Guliyev

Recommended Posts

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...