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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Limit dimension values shown

Hi community,

I would like to limit the dimension values shown, i.e. I don't want months greater than today's.  Is there away to limit the last x dates shown.  The values for up coming months aren't necessarily zero and we are actually still useing QV 10 on the server.  Any thoughts?

1 Solution

Accepted Solutions
MayilVahanan

Hi

Use like this, If(Month(DateField) <= Month(Today()), Month(DateField)) as Dimension

Hope that helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

2 Replies
MayilVahanan

Hi

Use like this, If(Month(DateField) <= Month(Today()), Month(DateField)) as Dimension

Hope that helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Thanks Mayil,  Just wondering if there was an simpler way that didnt need a calculated dim.