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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register 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)), '-')

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

Thank you:)

shiveshsingh
Master
Master

Glad to know it worked