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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
benst12
Contributor
Contributor

Comparing two dates at once

I have an issue where I have two dates, a start date and an end date. I need to be able to count active policies between these two dates. My current implementation is count(Distinct {<Started = {'$>=Ended'}>} PolicyNumber) with Started as my dimension, but I am not having ended policies properly removed from the data. Any suggestions on how to properly account for when a policy ends?

Labels (1)
  • SaaS

1 Reply
Kushal_Chawda
MVP
MVP

Would you be able to share sample data with expected output?