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: 
rkpatelqlikview
Creator III
Creator III

How to count the no of sales except last 7 days

Hi,

Can anyone please explain how to count the no of sales except last 7 days from today.

Thanks in advance

1 Solution

Accepted Solutions
sunny_talwar

May be this

Count(DISTINCT {<DateField = {"$(='<=' & Date(Today() - 7))"}>} Transaction_ID)

View solution in original post

2 Replies
sunny_talwar

May be this

Count(DISTINCT {<DateField = {"$(='<=' & Date(Today() - 7))"}>} Transaction_ID)

rkpatelqlikview
Creator III
Creator III
Author

Thanks Sunny.

Its working.