Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set analysis

How can I restrict the data shown on a straight table by only showing the last 6 weeks of data? I need to retain the data in the file though to display it on another chart in the same file, so it can't be specified in the load.

I have a calculated column, with the formula

PRICE*NOMINAL/100

I tried this

{$<WeeksAgo={">=1<7"}>}PRICE*NOMINAL/100

but i get the error message 'Garbage after expression "$" '

help!

1 Solution

Accepted Solutions
tresesco
MVP
MVP

You missed an angular bracket.

Try like :

Sum ( {$<WeeksAgo={">=1<7"}>}PRICE*NOMINAL/100)

View solution in original post

5 Replies
Not applicable
Author

Can dimension limits be used for this purpose? If so, how?

tresesco
MVP
MVP

You missed an angular bracket.

Try like :

Sum ( {$<WeeksAgo={">=1<7"}>}PRICE*NOMINAL/100)

Anonymous
Not applicable
Author

There is no expression here.  Try

sum({$<WeeksAgo={">=1<7"}>}PRICE*NOMINAL/100)

santharubban
Creator III
Creator III

try this

{$<WeeksAgo={'>=1'},WeeksAgo={'<7'}>}PRICE*NOMINAL/100

or

{$<WeeksAgo={">=1"},WeeksAgo={"<7"}>}PRICE*NOMINAL/100

Not applicable
Author

Thanks everyone

Where would I be without the community?!