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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ishanbansal1204
Contributor III
Contributor III

Excluding Filters in the expressions

Hi ,

I have an expression to calculate last 12 months of information.

count(DISTINCT{$<WEEK=,MON=,QUAR=,SUBMIT_DATE={">=$(=MonthStart(AddMonths(Max(SUBMIT_DATE),-12)))<$(=MonthEnd(Max(SUBMIT_DATE)))"}>} [ID])

As I have 3 filters in sheet 1 that is Week , Mon,Quar , whenever i apply these filters the value in the sheet 2 changes. is there any way that i can exclude filters in the expressions. appreciate your help.

Thank you.

1 Solution

Accepted Solutions
shraddha_g
Partner - Master III
Partner - Master III

Try,

count(DISTINCT{$<WEEK=,MON=,QUAR=,SUBMIT_DATE={">=$(=MonthStart(AddMonths(Max({<WEEK=,MON=,QUAR=>}SUBMIT_DATE),-12)))<$(=MonthEnd(Max({<WEEK=,MON=,QUAR=>}SUBMIT_DATE)))"}>} [ID])

View solution in original post

2 Replies
shraddha_g
Partner - Master III
Partner - Master III

Try,

count(DISTINCT{$<WEEK=,MON=,QUAR=,SUBMIT_DATE={">=$(=MonthStart(AddMonths(Max({<WEEK=,MON=,QUAR=>}SUBMIT_DATE),-12)))<$(=MonthEnd(Max({<WEEK=,MON=,QUAR=>}SUBMIT_DATE)))"}>} [ID])

ishanbansal1204
Contributor III
Contributor III
Author

Thank you Shraddha.