Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Label/Expression syntax

This is giving me fits, I have a Field, Response_Time, that is bucketed into different SLA time brackets (Live, Electronic and Other) from a call center application. I have an IF Expression statement working to select/count the call data according to the dynamic GetFieldSelection(xxxxxx)  but can't get the Expression Label to work dynamically for the heading.

=if(GetfieldSelections(Call_Source)='Live','< 1 minute') works But extending it with another If like the Data selects doesn't.

=if(GetFieldSelections(Call_Source)='Live','< 1 minute'), if(GetFieldSelections(Call_Source)='Electronic','< 5 minutes'), if(GetFieldSelections(Call_Source)='Other','< 7 minutes'),

Thanks

David Rowe

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Leave off the GetFieldSelections() and just try:

=if(Call_Source='Live','< 1 minute'

, if(Call_Source='Electronic','< 5 minutes'

, if(Call_Source='Other','< 7 minutes'

, '????'

)))

-Rob

http://robwunderlich.com

View solution in original post

4 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Is only one Call_Source always selected?

-Rob

Not applicable
Author

Yes, only one source.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Leave off the GetFieldSelections() and just try:

=if(Call_Source='Live','< 1 minute'

, if(Call_Source='Electronic','< 5 minutes'

, if(Call_Source='Other','< 7 minutes'

, '????'

)))

-Rob

http://robwunderlich.com

Not applicable
Author

Thanks Rob. Good pointer, made sense as a single source.

DR