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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Filter Dimension in Chart

Seems a simple one but can't seem to find the answer. I have an order chart with all the order weeks running along the X axis but I only want to show those from the current week going forward. I already have the current week stored in another field.

Thought I'd try put something like [orderweek]>=[currentweek] in the dimension field but that didn't work. Can someone help?

1 Solution

Accepted Solutions
sushil353
Master II
Master II

Hi,

I think below code should work:

if(orderdate>currentweek,order,null())

also check the option for suppress null values.

HTH

Sushil

View solution in original post

2 Replies
Not applicable
Author

Hi,

can you transfer that current week into variable and compare value like [orderweek]>=[Variable name].

Thanks

piyush

sushil353
Master II
Master II

Hi,

I think below code should work:

if(orderdate>currentweek,order,null())

also check the option for suppress null values.

HTH

Sushil