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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Deselect a field

Hi,

Is there any way to deselect a field based on a expressions?

Like:

-IF(FIELD1>0, DESELECT_FIELD2, NULL())

Thanks!

Labels (1)
1 Solution

Accepted Solutions
sathishkumar_go
Partner - Specialist
Partner - Specialist

Create a one variable,

vMonthSelected =GetSelectedCount(Month)

after that goto Settings->Document Properties -> Triggers -. Variable Event Triggers

select OnChange

In Actions -. choose clear field Day

-Sathish

View solution in original post

5 Replies
sathishkumar_go
Partner - Specialist
Partner - Specialist

Could you explain your requirement briefly or post ur application with sample data

-Sathish

Not applicable
Author

Can't post my data, to much private information

But want I want is:

I've the field Year, Month and Day:

Imagine that I've all the fields selected, but when I unselect the field Month I want automatically unselec the field Day because I don't want the Day selected without the Month.

I don't want to use a hierarchy group because I want the fields separeted.

Not applicable
Author

Hi ,

Just curious when a month field is cleared or unselected then all its associated dates will also be deselected .

If the requirement is different excuse me.

regards

kumar

sathishkumar_go
Partner - Specialist
Partner - Specialist

Create a one variable,

vMonthSelected =GetSelectedCount(Month)

after that goto Settings->Document Properties -> Triggers -. Variable Event Triggers

select OnChange

In Actions -. choose clear field Day

-Sathish

Not applicable
Author

Just fantastic!!! Thanks!