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: 
amien
Specialist
Specialist

counter value within last 7 days

i have this table:

key, unique address, date, #counter

1, 100, 20160101, 1

2, 100, 20160102, 1

3, 100, 20160502, 1

i need this result in a straight table

dim_address, dim_date, expression

100, 20160101, 1

100, 20160102, 2  <---

100, 20160502, 1

<-- this record does a sum(#counter) but looks for the last 7 days. It therefor has a hit on 20160101 and shows 2.

What expression do i need for this? Point in time is not working in this case.

Thanks in advanced

11 Replies
amien
Specialist
Specialist
Author

Thanks. i went for the AsOf solution.

sunny_talwar

Great choice