Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
d_petkovic
Contributor
Contributor

Reference line depending on date

Hello together,

I would like to add a reference line vertically, depending on the date in the x-axis. The date is formatted as 11.2018 (November 2018).

What expression or formula I have to use or how can I set this reference line?

 

Thank you in advance for your help!

 

6 Replies
Anil_Babu_Samineni

Which Chart?
Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
d_petkovic
Contributor
Contributor
Author

It's a vizlib Line Chart.

Anil_Babu_Samineni

Try this?

FieldName = '11.2018'

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
d_petkovic
Contributor
Contributor
Author

It doesn't work probably.
I just want to use the criteria "Date" to show this additional line vertically above the date.

Example: If the date starts at February 2018 (02.2018) the line should show up above. If the date changes to May 2018 (05.2018) the line should switch an show up above May.

ericapaiva
Contributor
Contributor

You can try to use MakeDate(year,  month, day)

Anil_Babu_Samineni

What is the logic behind to bring dynamic?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful