Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
markgraham123
Specialist
Specialist

Fetch Inner value of the flag in Set anlaysis

Hi,

I have a condition with flag 0,1

If(360>=0 and 360<=8,1,0) as 360woh

I'm trying to fetch the value of the Dimension "360woh" values where flag =1

But it fetches the value "1" but not its corresponding values

Can anyone look into it.

1 Solution

Accepted Solutions
sunny_talwar

Hey Mark, try this (not sure if it will work but no harm trying:

=Only({<360woh = {1}>} 360)

View solution in original post

4 Replies
sunny_talwar

Hey Mark, try this (not sure if it will work but no harm trying:

=Only({<360woh = {1}>} 360)

ramoncova06
Specialist III
Specialist III

you need to assigned another field and do this, since at the moment all you are doing is creating a flag for it


If(360>=0 and 360<=8,360,0) as 360wohvalue

markgraham123
Specialist
Specialist
Author

It worked.

Sorry sunny, when u sent me the code, i was typing incorrectly.

Its my mistake.

sunny_talwar

No big deal Mark.

I am glad it is working now

Best,

Sunny