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: 
lessassy
Creator
Creator

Getselectedcount for several field

Hello everyone,

I want to use the formula if(GetselectedCount(WeekYear) ,1,0)  on several fields which are:

year field.PNG

The main objective is to display a chart if one of the field (Month, Year, Quarter....) are selected

From now i could only have put a field in the formula.

I tried this: if((GetselectedCount(WeekYear) ,1,0) or (GetselectedCount(Year) ,1,0) or GetselectedCount(Month) ,1,0))

But it doesn't work.

Anyone can help ?

thank you in advande

8 Replies
m_woolf
Master II
Master II

(GetselectedCount(WeekYear)>0  or (GetselectedCount(Year)>0 or GetselectedCount(Month)>0

lessassy
Creator
Creator
Author

It doesn't work unfortunately 😕

eror.PNG

m_woolf
Master II
Master II

Are you putting that in the Chart's Show Condition?

lessassy
Creator
Creator
Author

yescaa.PNG

m_woolf
Master II
Master II

The show condition is on the Layout tab.

lessassy
Creator
Creator
Author

It's kind of working

Before

before.PNG

While:

pendant.PNG

After:

after.PNG

But everything is disappearing.

I would have like to keep this

Capture.PNG

m_woolf
Master II
Master II

You can create a text box with that info or image in it. You might add a message in the text box that says something like:

"Select a Date to view the chart"

Put the textbox under the chart.

MarcoWedel

GetselectedCount(WeekYear) or GetselectedCount(Year) or GetselectedCount(Month)