Java Script to select default value based on flag value in QlikSense
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.
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.