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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Macro

Hi,

I need a macro which, when vDoor1 = 1, selects one random data depending on its name. I have no knowledge of VBS, and I haven't found any guides either... I could imagine it being something like this: IF(variable=1) THEN SELECT if(Rand<=0.5 AND Name=*text) THEN Field[Data] ELSE Field[Data2]

Thanks for your help in advance,

Lucas

0 Replies