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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Latest 7 days data in chart

Hi,

I have a table with 3 fields, products brought, price and start_date.

I have a graph, where am using "Products brought" in Dimension and "price" in Expression. I have one month of data in the chart.

i have a field called start_date,

where in the chart i need to display products brought and price of latest week (last 7 days only)

Help me to find this.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

Sum({<Date={'>$(=Date(Max(Date)-7))<=$(=Date(Max(Date)))'}>}Sales)

PFA

View solution in original post

2 Replies
devarasu07
Master II
Master II

Hi Kishore,

By using dimension limit value at chart property you can able to achieve it.

Hope this will help you.

Thanks

Deva

tresesco
MVP
MVP

Try like:

Sum({<Date={'>$(=Date(Max(Date)-7))<=$(=Date(Max(Date)))'}>}Sales)

PFA