Skip to main content Skip to complementary content

GetCurrentField

GetCurrentField() is used to find the currently active field in the specified group.

Syntax:  

GetCurrentField (group_name)

Return data type: string

Arguments:  

  • group_name: The name of the group to be evaluated.

Examples

In the following, the field MyGroup includes the fields Sales and Price, and the following syntax:

GetCurrentField (MyGroup )

  • Given that Sales is active, the script returns Sales, the active field.

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com