Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
josephinetedesc
Creator III
Creator III

In a chart - can I show "today"?

Hi All

In a chart which has say monthname(dateOfX) as the x axis - is it possible to  have a line or something to signify today's date?

This is probably a  bad example,but I hope you understand what I mean.

Jo

Capture.JPG

1 Solution

Accepted Solutions
Not applicable

Hello, Josephine.

I also had this problem and found the solution. When you check the continuous option you can go to the Number Tab and you'll see on the Expression table an entry called "Continuous X-axis" which enable you to choose the correct number format:

Capture.PNG

Capture.PNG

Then you can use whatever format you'd like.

Best Regards,

Luis Franco

View solution in original post

17 Replies
sunny_talwar

May be something like this:

Capture.PNG

Not applicable

You can try with reference lines on the presentation tab.

josephinetedesc
Creator III
Creator III
Author

Hi Sunny T

Cannot believe it is that easy ... Thank you.

Jo

Capture.PNGCapture1.PNGCapture1.PNG

sunny_talwar

No problem. I am glad I was able to help (although I did not even get helpful for my response )

My bad, I got Correct Now

josephinetedesc
Creator III
Creator III
Author

I sometimes find I am in the incorrect screen for simple things like mark helpful or correct or when I want to download a topic as a pdf.

And … sometimes I think – who am I to mark “correct” ☺

Jo

josephinetedesc
Creator III
Creator III
Author

I knew I should never had said easy ...

problem:

the x axis has the formula: Monthname(dateOfActivity) - in order to use the today() I need to make the x axis "continuous" and then the x axis decides to display as a number!

Capture.PNG

Capture1.PNG

I can actually get it to work with today() - 30 to get last month!

but ... is there any way to fix the date display?

Capture2.PNG

Jo

rajeshforqlikvi
Creator
Creator

One more option is go to the Presentation Tab -> Test in chart .

You can write today there and you can adjust today any where in the Chart.

sunny_talwar

Yes, that is indeed a problem and I am not sure if I know a work around. May be re-open this thread by unmarking the correct answer and wait for another response. I am sure there might be a macro that you might be able to use, but I am just not aware of one to suggest you.

josephinetedesc
Creator III
Creator III
Author

i think i hae opened it up for discussion again ...