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: 
danaleota1
Creator
Creator

Using Set Analysis for a MTD value to ignore a date selection but respect another selection

I am trying to create a column in a table that returns the Month to Date number of calls. I would like that it ignores any date filter selection but respects the agent filter selection.  

 

So far I have:

sum({1<Date = (Date)>} {1<IsCurrentMTD = {1}>} {$<Agent = (Agent)>} ACDCALLS) 

The MTD Column is returning the same values as the column for sum(ACDCALLS).  Any suggestions thanks.   

dleota_0-1589376898642.png

 

1 Solution

Accepted Solutions
sunny_talwar

Try this

Sum({<Date, IsCurrentMTD = {1}>} ACDCALLS) 

Or this if you want only Agent selection to have an impact

Sum({1<IsCurrentMTD = {1}, Agent = $::Agent>} ACDCALLS) 

 

View solution in original post

2 Replies
sunny_talwar

Try this

Sum({<Date, IsCurrentMTD = {1}>} ACDCALLS) 

Or this if you want only Agent selection to have an impact

Sum({1<IsCurrentMTD = {1}, Agent = $::Agent>} ACDCALLS) 

 

danaleota1
Creator
Creator
Author

This is working-- thanks @sunny_talwar !!