Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
durgabhavani
Creator III
Creator III

Is there any possibilty to give an label to all expressions?

Hi All,

I have a legend like below in my barchart. Now i want to give label as "days" to my legend.

days.PNG

If possible please provide me the inputs.

Thanks,

Durga


1 Solution

Accepted Solutions
prieper
Master II
Master II

When you calculate your expressions one by one, there will be no common legend available, but you may insert an Text:

Chart Properties - Presentation - Text in Chart - Add ....

You can position this box lateron with pressing Cntrl & Shift with the Chart Open (elements then should appear with read boxes around, which can be moved with the left mouse).

HTH Peter

View solution in original post

8 Replies
MK_QSL
MVP
MVP

Use Calculated Dimension

=Pick(Match(DaysDuraton,'0-10 Days','11-30 Days', '31-50 Days','51-70 Days', '70+ Days'),1,2,3,4,5)

This will replace

0-10 Days by 1

11-20 Days by 2

and so on..

If this is not your are looking for, kindly upload your sample data..

sunny_talwar

I don't understand... you already have days in your legend? Can you re explain what you are looking for?

Best,

Sunny

durgabhavani
Creator III
Creator III
Author

Hi,

I have everything in my chart, only i need to name the legend.

1.PNG

I need to name the expression legend which contains disclosure, open, pending

If it is possible please let me know!

Thanks,

Durga

MK_QSL
MVP
MVP

You can give label name to your expression....Please provide sample application..

sunny_talwar

You want them to say Disclosure Days, Pending Days, Open Days??? I am not really sure which legend are you talking about.

Best,

Sunny

durgabhavani
Creator III
Creator III
Author

Hi Manish/ Sunny

Sorry for late response.

my expressions are

=Count({<STATUS={'Pending'}>}STATUS)

=Count({<STATUS={'Open'}>}STATUS)

=Count({<STATUS={'Disclosure'}>}STATUS)

I want output as below

1.PNG

status

days.PNG

I want status to be on top of expressions as label.

As this is bar chart it is not allowing me to label the expression.

FYI: i have dimension as category for my barchart.

for security reasons i have no access to download and uplaod samples.

Thanks,

Durga

prieper
Master II
Master II

When you calculate your expressions one by one, there will be no common legend available, but you may insert an Text:

Chart Properties - Presentation - Text in Chart - Add ....

You can position this box lateron with pressing Cntrl & Shift with the Chart Open (elements then should appear with read boxes around, which can be moved with the left mouse).

HTH Peter

durgabhavani
Creator III
Creator III
Author

Peter! Thanks much!

Got your point!

This is the only way to present the label to expression!

Thanks,

Durga