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

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

7 days ago up today macro

hi everyone

i have button named weekly,

i want when i press this button , my chart shows related data from 7 days ago to today ,

i want macro for this,

best regards

hamide

7 Replies
MarcoWedel

Try with a field search action and a search expression for the last 7 days.

Hope this helps

Regards

Marco

Not applicable
Author

how can i do  this ?

MarcoWedel

Hi,


there are lots of similar threads, try using the search function of this community.

one result:

"last 7 days" filter

hope this helps

regards

Marco

petter
Partner - Champion III
Partner - Champion III

It is a bit convoluted but it could look like this:

2015-09-26  #3.PNG

Not applicable
Author

unfortunately my date is shamsi date , that is not the system date

my format is 1394/07/04

i don't know how solve it?

petter
Partner - Champion III
Partner - Champion III

Actually - if your Load Script's environment variables are in place - which they are by default - there shouldn't be a problem of you using a different date format. The screenshot only shows the dates in US date-format. But yours should show it in shamsi date. The formula/expression shouldn't be affected by this. That is why the Date()-function has been used by not specifying explictly the date format so it will use the format you have on your Windows computer or what is set in the beginning of your load script.