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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Ignore selections from an entire qlikview table

I have a case where I have two entities say 'Consumption' and 'Stock' and they are present in qlikview as separate logical tables. They are linked in the data model because there are reports where I need the combined results from the two tables.

However there are some reports for which, when I want to view the 'Consumption' data, I have to  pass some selections from Stock, but discard all other selections from Stock.

Instead of ignoring selections field by field, is there a shortcut to ignore all selections from the 'Consumption' logical table in a set analysis expression or unselect all selections from 'Consumption' table on the click of a button ?

1 Solution

Accepted Solutions
jeffmartins
Partner - Creator II
Partner - Creator II

Hi Aushik.Makdoom,

You can ignore the selections of the 'Stock' table using a variable with all field names of 'Stock' table in the set analysis.

In my example only the selections of the fields Dim0 and Dim2 are ignored.

See the attached file.  Hope it helps you.

Regards

View solution in original post

7 Replies
jeffmartins
Partner - Creator II
Partner - Creator II

Hi Aushik.Makdoom,

You need to use set analysis with the constant 1.

"There is one constant that can be used to denote a record set; 1. It represents the full set of all the records in the application."

sum( {1<Region= {US} >} Sales )
returns the sales for region US disregarding the current selection.

See the set analysis in the help file.

Regards

Not applicable
Author

Hi Jeff,

Thanks a lot for your answer. Here I have indicated only two logical tables, but in my application there are many other logical tables and for viewing the consumption report, I have to ignore all selections only from 'Stock' table. However selections made on other logical tables needs to be considered.

Please let me know if you see a solution to this. Thanks in advance and sorry if I was unclear in my first post.

jeffmartins
Partner - Creator II
Partner - Creator II

Hi Aushik.Makdoom,

You can ignore the selections of the 'Stock' table using a variable with all field names of 'Stock' table in the set analysis.

In my example only the selections of the fields Dim0 and Dim2 are ignored.

See the attached file.  Hope it helps you.

Regards

SunilChauhan
Champion II
Champion II

Better to use below code in expression

sum({<Dim1=,Dim2=,Dim3=,Value>}Value)

hope this helps

Sunil Chauhan
Not applicable
Author

http://community.qlik.com/docs/DOC-1334

check this one very helpful.

Not applicable
Author

Thanks a lot Jeff!!!! It looks to solve my issue...

Not applicable
Author

Worked very well, thank you!