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: 
sujeetsingh
Master III
Master III

Help Neede !

Hello every one please go through the attached sample file. It has all details you need.

Labels (1)
14 Replies
sunny_talwar
MVP
MVP

I am still not sure what needs fixing. Are you only trying fix YearGap = 0 or is the whole thing not working?

sujeetsingh
Master III
Master III
Author

Now Select Year 2011. Count for 0 year gap is 3. ID 1,2,3 is counted. But it should be 0 count since these ID 1,2,3 is included in Year gap 1.

sunny_talwar
MVP
MVP

I am starting to understand this better now. Can you give an example where yeargap will have a value to show?

adamdavi3s
Master
Master

I am glad one of us is

sujeetsingh
Master III
Master III
Author

Here comes the solution Use of Aggr function and excluding already included ID.