Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date

Hi can some one explain what does this expression do ? this is in the expression Label

IF(GetCurrentField(CG_Period)<> 'CDate',1,0)  and there is red mark on CG_Period which is a cyclic group name , Can some one please correct it ?

1 Solution

Accepted Solutions
PradeepReddy
Specialist II
Specialist II

there is no error in the expression..

whenever we use the Cyclic/Drilled down group name in the GetCurrentField(), it shows the error mark...

View solution in original post

5 Replies
sunny_talwar

This expression is currently assigning 1 to the expression label when you are on CDate in your cycle group. Otherwise it assigns 0. What are you trying to do? Unless you tell us your expectation, we won't be able to help you much, because syntax wise there is nothing wrong about the expression.

qlikmsg4u
Specialist
Specialist

If we use Cyclic group in expression it will show red mark although it the expression is correct

engishfaque
Specialist III
Specialist III

Dear Wrestler,

Here it's,

if GetCurrentField(CG_Period) not equal to CDate, then return 1, else return 0

Kind regards,

Ishfaque Ahmed

PradeepReddy
Specialist II
Specialist II

there is no error in the expression..

whenever we use the Cyclic/Drilled down group name in the GetCurrentField(), it shows the error mark...

Not applicable
Author

Hi Pradeep,

Check if that cyclic group or fields are available. If it is not available then it shows Red cross mark.