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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Dynamic Filters in qlikview

HI all,

This is the data in my excel looks like dis

1.jpg

if i select Bgt and Revenue from 2 filters

i have 2 get

2.jpg

if i select Bgt and Expenses from 2 filters   i have to get

3.jpg

For 1 filter i, getting the result

but i added another filter i.e., Filter1

i created a another variable in the script like

5.jpg

but in the properties of straight table

in expression tab: what i have to write

pls guide me

For 1 filter ,by using these conditions

=$(vSelection)

if($(vSelection)=0,1,0)

im getting the result,

For 2 nd filter what are the expressions

i.e., for the filter Expenses and Revenue?????????????????????????????

3 Replies
sunny_talwar

Try these conditions may be:

For ActRevenue and BgtRevenue

=GetFieldSelections(Filter1) = 'Revenue'

For ActExpenses and BgtExpenses

=GetFieldSelections(Filter1) = 'Expenses'

Not applicable
Author

for budget revenue expression:i want these two filters

=GetFieldSelections(Filter1) = 'Revenue'

=GetFieldSelections(Filter) = 'Bgt'

How to combine these two expressions in conditional expression

shair_abbas
Partner - Creator
Partner - Creator

Hi...
I think it might help.
Use both expression separately.and provide condition on both.