Skip to main content

App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
QlikWorld 2023, a live, in-person thrill ride. Save $300 before February 6: REGISTER NOW!
cancel
Showing results for 
Search instead for 
Did you mean: 
rogeriobueno
Contributor
Contributor

Default Selection on Qlik Cloud

Hey everyone, how are you?

I was wondering, is there a simple way to have a default selection for a filter on Qlik Cloud? (knowing we can't use extensions)

I'm doing this with if statements. But then I have to apply this too many times, it's exausting (and hard to edit later if I need to).

Here's the code if anyone is interested. It consideres the current year if no filter is selected.

if(GetSelectedCount(Year)>0,

    Sum(Cost)

, //else

    Sum({$<Year={'$(=year(now()))'}>} Cost)

)


Thank you!

0 Replies