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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set Analysis - Compare dates

Hi

I have a line graph showing a count of data per hour of the day. I want to compare this to the value 7 days previous

I've used the following:

=count({<CorrectedDate={$(=(Max(CorrectedDate)-7))}>} Hour)

However, it isn't showing the 7 days previous figure on the line graph. Have I missed something?

7 Replies
MK_QSL
MVP
MVP

Count({<CorrectedDate = {'$(=Date(Max(CorrectedDate)-7))'}>}Hour)

sasiparupudi1
Master III
Master III

may be you have other selections that needs to be ignored?

count({<month=,year=,day=,CorrectedDate={$(=(Max(CorrectedDate)-7))}>} Hour)


hth

Sasi

sunny_talwar

May be this:

=Count({<CorrectedDate={"$(=Date(Max(CorrectedDate)-7), 'YourDateFormat')"}>} Hour)

sasiparupudi1
Master III
Master III

Hi Sunny,

You meant this?

Count({<CorrectedDate={"$(=Date(Max(CorrectedDate)-7, 'YourDateFormat'))"}>} Hour)

Anonymous
Not applicable
Author

Tried all answers. Still not showing the 2nd line

MK_QSL
MVP
MVP

Post sample application pls

sunny_talwar

Yup, that is what I meant