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: 
Anonymous
Not applicable

Display the variable value in lablel issue

HI

I have two variable vstart and vEnd . when i give date range in my chart like below..

Name, sal ,daterange

raju,5000,30

ramu,6000,20

i am expacted o/p ...

What ever given date range in filter level it showing chart like below..

Name, sal, 01-01-2018-01-06-2018(This date fields show by labes)

raju,5000,30

ramu,6000,20

i tried this expression(=Concat(Date($(vStartDate)-($(vEndDate)))))

how to do above thing?

Thanks,

Nani

1 Solution

Accepted Solutions
shiveshsingh
Master
Master

May be this?

let vStartDate = '2018-05-01';

let vEndDate ='2018-06-10';

T:load * inline [Name, sal ,daterange

raju,5000,30

ramu,6000,20]

Label : =(vStartDate) & '-' & (vEndDate)Capture.JPG

View solution in original post

4 Replies
shiveshsingh
Master
Master

May be this?

let vStartDate = '2018-05-01';

let vEndDate ='2018-06-10';

T:load * inline [Name, sal ,daterange

raju,5000,30

ramu,6000,20]

Label : =(vStartDate) & '-' & (vEndDate)Capture.JPG

Anil_Babu_Samineni

You can increase your Height of Header from presentation tab? and for that, You can use this?

=Concat(Date($(vStartDate)-$(vEndDate)), '-')

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Anonymous
Not applicable
Author

Thank you:)

shiveshsingh
Master
Master

Glad to know it worked