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

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

limiting date dimension to last 7 days with conditional

i'm trying to limit the date dimension to the last 7 days only, using a conditional.

something like that '>=today() -6'

how can i do that?

thanks,

Yaron.

3 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

Use this as a calculated dimension.

=if(DateField>=date(today()-6),DateField)

Regards

ASHFAQ

Not applicable
Author

there's still a column that shows totals even though the 'show total' option is off. how can i take it off?

ashfaq_haseeb
Champion III
Champion III

Hi,

Make sure suppress when values IsNull is Checked.

Regards

ASHFAQ