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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

GetCurrentField using variable name

Colleagues, good day!

I have one cycle group, which use in list of expressions, which contain my dimension fields.

How can i get names of stored dimension inside expressions, using GetCurrentField func?

now this func returns the name of variable, not name of dimension.

There's test model in attachment.

Thanks. !

7 Replies
vinieme12
Champion III
Champion III

use

GetFieldSelection('GROUPNAME')

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anonymous
Not applicable
Author

thanks, but it's doesn't work.

I tried this: =GetFieldSelections("Test") and it returns "-"

vinieme12
Champion III
Champion III

use single quotes also it will return value only if you have anything selected in the this Grouped dimension

=GetFieldSelections('Test')


Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Anonymous
Not applicable
Author

Thanks. But i shouldn't select there anything. I need to grt current visible field name in cycle group

vishsaggi
Champion III
Champion III

May be use GetCurrentField('Test') or GetCurrentField(Test) without quotes. If you see a red line that is fine it should give you the current field in the group. 

Oops i just saw your file.

Try this:

= $(= GetCurrentField(Test))

chetanpatel
Contributor III
Contributor III

GetFieldSelection('GROUPNAME') not working

 

chetanpatel
Contributor III
Contributor III

any luck with above  Equation,