Conditional statement in Custom Expressions
How do I write conditional statements in Custom Expressions. I am using Data Warehouse and my requirement is that I need to set value as 'High' if my value comes to 3, 'Medium' if value is 2, else 'Low'.
|
Accepted answer
Hi, you can use a Case statement in your custom expression -- my example is built for a DB2 database, but I think the SQL should be applicable across DB systems. In my example I'm doing grouping by creation date, but you could substitute your attribute and text as appropriate.
Mohit Agrawal selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.