Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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
tresesco
MVP
MVP

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 ?

tresesco
MVP
MVP

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