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

cyclic group

hi friends, I have a question:

I define tow variables that called G and X and a cyclic group called group.1 with tow fields S.1 and S.2 .

I want to add a value in the variable of X.

I use this code for cyclic group:

G=getcurrentfield("group.1");

$(G) shows S.1 or S.2.//

If(G='S.1' , X=1, X=0)

But always X=0 and G='S.1' is not working. Please help me for this problem. TNX

10 Replies
chetanpatel
Contributor III
Contributor III

=If( GetCurrentField("Period")='Month',1,0)  please  help me  with this  equation  cyclic  group has  a value month but it's   not giving  result  where value is matching.