Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional show

If I conditionally show a line on a chart using this expression

GetFieldSelections(DESK)='BANK CAPITAL - GSL'

It would only show when that value is selected in the DESK field. However, I also want it to show when no value is selected in the DESK field and no value is selected in another fields called SECTOR. How would I amend the expression?

1 Solution

Accepted Solutions
its_anandrjs

In Layout property of the chart you can try with

If(  ( GetFieldSelections(DESK)='BANK CAPITAL - GSL'  or GetFieldSelections(DESK)=0 And GetFieldSelections(SECTOR)=0 ),1,0)


View solution in original post

4 Replies
SunilChauhan
Champion II
Champion II

GetFieldSelections(DESK)='BANK CAPITAL - GSL'  or getselectedcount(DESK)=0


in layout of object properties


hope this helps



Sunil Chauhan
Not applicable
Author

That doesn't take into account the SECTOR field though.

If no selections are made in the DESK field but selections are made in the SECTOR field, your logic above would mean it would still appear. I need to ensure it does NOT appear when this happens

its_anandrjs

In Layout property of the chart you can try with

If(  ( GetFieldSelections(DESK)='BANK CAPITAL - GSL'  or GetFieldSelections(DESK)=0 And GetFieldSelections(SECTOR)=0 ),1,0)


Not applicable
Author

Thanks Anand

what would be the syntax for multiple values

GetFieldSelections(DESK)='BANK CAPITAL - GSL' AND 'CDS HY'


?????