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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
denwo2010
Creator
Creator

Add a Reference Line for Todays Date

Hi,

I want to add a Reference Line for todays date on the attached chart, but for some reason it is not setting this?

Thanks

1 Solution

Accepted Solutions
Anonymous
Not applicable

Not like this no. Your X-axis needs to be numberic because it need to count/calculate where the line should show up.

Can't you make your dimension numeric?

View solution in original post

7 Replies
SunilChauhan
Champion II
Champion II

see the attached file

hope this helps

Sunil Chauhan
denwo2010
Creator
Creator
Author

Hi,

I want the line to appear vertical.

Thanks

Anonymous
Not applicable

I think this is what you need:

=Month(today()) + Day(today())    /   Day(MonthEnd(today()))

Take a look at the attechment and let me know if it works for you ok?

Good luck,

Dennis.

Anonymous
Not applicable

Extra information:

Continuous X requires that you have a numeric value on the X-axis and have chosen to display it as continuous on the axis tab.

denwo2010
Creator
Creator
Author

Hi Dennis,

So I take it is not possible to do with the graph that I have now as I do not have numeric values on thex axis?

Thanks

Anonymous
Not applicable

Not like this no. Your X-axis needs to be numberic because it need to count/calculate where the line should show up.

Can't you make your dimension numeric?

denwo2010
Creator
Creator
Author

OK Thanks Dennis