Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
francisvandergr
Partner - Creator II
Partner - Creator II

Very slow expression (Hyperlink)

I have a very slow expression. Can is formula below change into set analyses. Because i know it is better to use no if statements in expressions

=if(Table.Name2='Helpdesk' and Verzoek.HelpdeskStatus='Openstaand' and Afdeling.Naam='Software', 'URL'&Verzoek.Hyperlink )

Another solution is to change it in a dimension. But can a link also be a dimension ?

Labels (1)
2 Replies
Anonymous
Not applicable

Hi!

I'm not sure if it will work, but you can try this expression:

MaxString({$<Table.Name2={'Helpdesk'},Verzoek.HelpdeskStatus={'Openstaand'},Afdeling.Naam={'Software'}>}'URL'&Verzoek.Hyperlink)


Regards,

Gabriel

Anonymous
Not applicable

build flags in your script (if it is possible) and use the flags

it is easier to cpmpar with a number rather than compar a string

(espiacally if there are huge number of data)

Script

load ..

if (Name2='Helpdesk',1,0) as FlagHelpdesk

...

and in your Expression

if (FlagHelpdesk=1 and ...