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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
gerrycastellino
Creator III
Creator III

how to get bar chart to display all Dimension values

I need to display all values as visible in the raw data. 'A' / 'B' values are missing from bar chart.

I cannot have the expression sum up the values,  just a simply display in bar chart format.

Capture.JPG

1 Solution

Accepted Solutions
sunny_talwar

May be like this?

Capture.PNG

Script Changes:

LOAD *,

  If(Previous(Ticket) = Ticket, RangeSum(Peek('Key'), 1), 1) as Key;

load * Inline [

Ticket, DaysOpen, cnt

A,  10, 1

A,  20, 2

B,  10, 3

B,  20, 4

C,  10, 5

D,  20, 6

E,  30, 7

];

Chart Changes:

Added Key as second dimension

View solution in original post

11 Replies
robert_mika
Master III
Master III

Change expression to

sum(DaysOpen)

Capture.PNG

Feeling Qlikngry?

How To /Missing Manual(23 articles)

gerrycastellino
Creator III
Creator III
Author

I would like to see the 2 two individual values for 'A'  as 2 bar lines, not summed up ...

sunny_talwar

What are you looking for? Sum, Avg? You should Just the field name itself won't work here

sunny_talwar

May be like this?

Capture.PNG

Script Changes:

LOAD *,

  If(Previous(Ticket) = Ticket, RangeSum(Peek('Key'), 1), 1) as Key;

load * Inline [

Ticket, DaysOpen, cnt

A,  10, 1

A,  20, 2

B,  10, 3

B,  20, 4

C,  10, 5

D,  20, 6

E,  30, 7

];

Chart Changes:

Added Key as second dimension

gerrycastellino
Creator III
Creator III
Author

not sum or average, just a dump of the data into the bar chart by daysopen.

robert_mika
Master III
Master III

Did you check my solution?

Does it work for you?

Feeling Qlikngry?

How To /Missing Manual(23 articles)

HirisH_V7
Master
Master

Hi ,

Hope this is what you required,

DaysopenBarchart2.PNG

In Style -> Keep Sub Type -> Grouped Checked

or

Else another Chart

DaysopenBarchart.PNG

Dimension:

Ticket

DaysOpen

Expression:

DaysOpen

Hope this Helps,

Regards,

HirisH

HirisH
tresesco
MVP
MVP

Little easier ! PFA

gerrycastellino
Creator III
Creator III
Author

nice !  I like it ....