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

Dimension as label in bar chart

I want to show a dimension as a label in a bar chart, without showing it as a legend or an axis. How do I do this?

1 Solution

Accepted Solutions
Not applicable
Author

found the solution. Thx for everyone help!

View solution in original post

10 Replies
qlikmsg4u
Specialist
Specialist

Use Text in Chart option

11.PNG

Not applicable
Author

Hi- that's not working. I'm trying to add a calculated dimension

gautik92
Specialist III
Specialist III

go to presentation tab and add text in chart

Not applicable
Author

That's what I did

gautik92
Specialist III
Specialist III

still you dint get?

qlikmsg4u
Specialist
Specialist

Uncheck Show Legend and and Label in Dimension

and hard code the names in Presentation > Add Text

using Ctrl+Shift you can move these texts where ever you want

Not applicable
Author

Hi this is an example of what I'm trying to do. On the bars I want to show the result of

if(rule2='blank',rule,rule2)

Anonymous
Not applicable
Author

HI madelein

                           maybe    check "Plot Values Inside Segment" in Presentation Property (tick this check box)

Regards,

gireesh

sunilkumarqv
Specialist II
Specialist II

Hope this will help you

Example:

1. Create a pie chart with Country as the dimension. Add the following expressio n:

=Dual(

if(Len(Only(Country))>0, Country, 'Others')

& chr(10) & Num(Sum(Sales), '#,##0')

,Sum(Sales)

)

2. On the Expression tab, label the expression as Sales $ and turn on the

Values on Data Points option.

3. On the Sort tab, turn on the Y-Value option.

4. On the Presentation tab, turn off the Show Legend option.

5. On the Numbers tab, ensure that Expression Default is selected.

6. Click on OK to save the chart. Note that the country names and values

are displayed besides each segment.