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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
bmaheshwari
Contributor
Contributor

Conditional Show/Hide in Qlik Sense

Hello sir,

i want to display Chart Conditionally Show/Hide from database 

Sql Query for this :

select  IsShow from  [tablename]
where FieldKey = 'XXXXX' 

here if IsShow = 1 then show  else hide chart

can you please suggest how we apply this condition in Bar/Line Chart in  Qlik Sense .

Thanks.

3 Replies
tresB
Champion III
Champion III

Try something like:

=Max({<FieldKey={'XXXXX'}>}IsShow)=1


Or,   // based on your expectation and possible number values in fields


=Only({<FieldKey={'XXXXX'}>}IsShow)=1

bmaheshwari
Contributor
Contributor
Author

Can you please suggest where/how i can apply this condition in Line chart ?

means under Appearance which section i can add this condition in Chart ?

tresB
Champion III
Champion III

In qlik Sense, try using Add-ons ->Data Handling'-> Calculation Condition