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: 
Anonymous
Not applicable

How to combine alternate and default state?

Hi All,

I have a query regarding combing alternate state and  default state. In my dashboard i have three different charts with three different states(with three different multibox having same three different states ) but now i want other filters(Brand circled in black color) to work on all charts with default state. Following is the expression written for charts

=num(count({stateA<Year ={"$(=Max(Year)-2)"}>}DISTINCT Sold_Date),'#,##0.0')

Now how to add another state as default state in same expression ?

Paint1.png

7 Replies
chinnuchinni
Creator III
Creator III

is brand button ?  you want to display the default result when you select the Brand ?

Anonymous
Not applicable
Author

Its text box when I click on brand a list box appears as brand and yes i want to display the default result for all three charts

chinnuchinni
Creator III
Creator III

then,the easy way is,you can use calculation condition.

give the condition as, getselectedcount(brandfield)>0.

and use yourdefault expression.

Anonymous
Not applicable
Author

Can you please send some sample application.

sunny_talwar

May be this

=Num(Count({stateA<Year ={"$(=Max(Year)-2)"}, Brand = p({$} Brand)>}DISTINCT Sold_Date),'#,##0.0')

or

=Num(Count({stateA<Year ={"$(=Max(Year)-2)"}, Brand = $::Brand>}DISTINCT Sold_Date),'#,##0.0')

balabhaskarqlik

Did you resolved the issue, post it to help others.