Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

avinashkk696
New Contributor III

Java Script to select default value based on flag value in QlikSense

Hi All,

I am new to Java Script, HTML and CSS. I have a scenario where we have to write a java script which will have the following data in QlikSense.

UserFlag
User1 N
User2N
User3Y
User4N

From the above table, I have created a extension which will select the default value as User1 on opening the application. But my scenario is, I want to have a default value of user who has a "Flag" value as "Y". For example, from the above table, I want the default selection to be "User3" as the flag for user3 is Y.

Kindly Help me on this.....

Note: I don't want to use any extensions from QlikBranch.

Community Browser