Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Architect
Partner - Creator
Partner - Creator

How to use Set Expression in front end instead of the 'if' statement in script.

 
 

Hi,

I below is the 'IF' statement that I want to replace with 'Set expression'

Please note this expression is used inside the column expression of a Chart.

If(
$(v_Rec_GM)>0 and ([Rec. Sales Price])>= $(vLowcomp), 'G2',
If( $(v_Rec_GM)<=0 and ([Rec. Sales Price])>= $(vLowcomp), 'G1',null)
)

Here I want to replace this IF statement with a Set expression. Not to do in the script, only to change in column expression.

@marcus_sommer 

@jwjackso 

@NitinK7 

1 Reply
Dalton_Ruer
Support
Support

Set Analysis isn't going to permit nested conditions. It would be used to filter the recordset to fields that had certain values.