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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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 ?

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 ...