Qlik Community

Qlik Sense App Development

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

Announcements
Qlik Analytics Tour 2020 Online. Begins August 10th. Register Today
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor III
Contributor III

Multiple filters with several combination

Hi Guys,

I'm creating KPI using Qlik sense.

I have 4 filters called name, group, [fiscal year] , [year month].

if i select fiscal year i want to display the value for selected year only.

if i select [year month] i want to display the value for selected [Year month ]only.

if select name and group want to display the same.


Also sometimes user will select the following combination (name and group ) or (Fiscal year , Group) or ([Year month], Group)..... etc



any suggestions ???







4 Replies
Highlighted
Creator II
Creator II

one way is to use if else condition.

eg:    if(getselectedcount( [fiscal year] )>0,sum({<name=, group=, [year month]=>}sales),

            if(getselectedcount([year month] )>0,sum({<name=, group=, [fiscal year]=>}sales)

)

this way you can add different conditions

Highlighted
Partner
Partner

is all your data associated?

If yes, sum(Value) will work.

If you select any of combinations then data will filter accordingly and value will be displayed.

Highlighted
Contributor III
Contributor III

as you mentioned

if i selected name and group as filter how it will work ?

Really i don't have any idea

Any suggestions ??

Highlighted
Contributor III
Contributor III

Also  i have Donut chart with sub categories. if i select any sub categ , i dont want make any changes in my KPI

That's y i'm thinking

any ideas?