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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
DJ55
Contributor III
Contributor III

Hide Chart /Unhide chart on condition

I have created Pie chart to show projected spend. I want to show the chart only for current fiscal year
So chart should be visible if Fiscal year is 2022 and if it is not 2022 then chart should not be visible.

It will be great if anyone can help me with this.

Thank you.

4 Replies
NitinK7
Specialist
Specialist

create master iteam of your Pie chart.

and use container and add master iteam(Pie chart) then you can able to hide and show based on condition

DJ55
Contributor III
Contributor III
Author

Hi Nitin,
Do we need to write any expression for condition?

NitinK7
Specialist
Specialist

for your scenario might be

If (Year=Max(Year),1,0)

or 

Year=Max(Year)

or

if (GetFieldSelections(Year)=Max(Year), 1 , 0)

AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hello,

You also can use Calculation Conditions in chart where you can ask user to make particular selection to view chart.

AshutoshBhumkar_1-1635518462633.png

 

Chart will not be visible until use makes a selection (Object will be visible).

 

Thanks,
Ashutosh