Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Reference line in the chart

Hi All,

  I want to show a reference line vertically in the chart when an event occurs in the particular month. PFA

26 Replies
Not applicable
Author

Hi Prem,

  I tried that if you do like that we got error in chart like no numeric on x-axis PFA

jagannalla
Partner - Specialist III
Partner - Specialist III

To use the continuous functionality we need to go with numeric data or date values.

Not applicable
Author

Hi Jagan,

    thanks for your response.. i am asking is there any possibility??

Not applicable
Author

Hi,

Use this either of the 2 ways

1. As a calculated dimension: =Date(date,'MMM-YYYY')


2. From the script create a field and use that field as dimension.

Regards

Kumar

preminqlik
Specialist II
Specialist II

Hi Ravi if you write Date(date,'MMM-YYYY') , if the field date is in time format then you'll face the problem in frontend , it will give repeated values in list box

to avoid that use the floor function before as follows

date(floor(num(date)),'MMM-YYYY')

Not applicable
Author

Hi Prem,

The date field in the attached file doesn't have the timestamp.

Regards

Kumar


Not applicable
Author

Thanks guys