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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
duscaranari
Contributor
Contributor

Hide future days in the chart

Hi, everyone!

 

I have this chart that shows me the production volume by day.

I want to hide the future days, showing just the ones from day 1 to today. 

I know I can hide zeros, but it's important to show the past days that the production volume was zero.

 

Any tip?

chart.jpg

 

Thanks,

Eduardo.

 

1 Solution

Accepted Solutions
aruneshgupta
Creator
Creator

I suggest to use conditional dimension.

ex: if(day(today())>Days,Days) 

Regards,

Arunesh

View solution in original post

3 Replies
aruneshgupta
Creator
Creator

I suggest to use conditional dimension.

ex: if(day(today())>Days,Days) 

Regards,

Arunesh

duscaranari
Contributor
Contributor
Author

Hy Arunesh, I hope you are well.

 

I first tried to place that expression in the "show dimension if" box, with no luck.

Then I placed it in the "field" box, and it worked.

Thank you so much for your help.

 

Regards,

Eduardo.

 

chart fix.jpg

 

aruneshgupta
Creator
Creator

Great Eduardo!