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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
surajap123
Creator III
Creator III

Ignore selections

Hi All,

I have 2 fact table that i concatenated. In front end i want to show data of both table in individual straight table, so i am using flag in the expression.

The field Stock is only in Wareshouse table, so I don't want Sales straight table to react to selections on Stock field. , so used Stock= in set analysis.

However the data is still filtered because the Date field is not in Wareshouse table, and vMaxDate variable returns null when we do selection on Stock field.


Sum({<Date = {'$(vMaxDate)'},DataSet = {'SALES'},Stock=>}SoldQty)

vMaxDate contain--> =Date(max(Date),'DD/MM/YYYY')

Please help!

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Change your variable to this

=Date(max({<Stock>}Date),'DD/MM/YYYY')

View solution in original post

3 Replies
sunny_talwar
MVP
MVP

Change your variable to this

=Date(max({<Stock>}Date),'DD/MM/YYYY')

tresB
Champion III
Champion III

You need to put set analysis field ignorance in the variable definition as well. Try variable definition like:

=Date(max({<Stock>}Date),'DD/MM/YYYY')

surajap123
Creator III
Creator III
Author

Thanks Sunny