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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
manoranjan_d
Specialist
Specialist

Stack bar

Hi all,

    

CountTypeCountryData source
200maleUKData3
1800maleUKdata1
28500FemaleUSdata5
28500FemaleUSdata5
62500FemalePakdata5
62500FemalePakdata5
97600FemaleChinadata5
97600FemaleChinadata5
139500maleindiadata1
181800Femaleindiadata5
181900FemaleUKdata5
193500Femaleindiadata5
200000maleindiadata2
200000malePakData3
320500FemaleUKdata5
500400maleindiaData3
700000maleUKdata2
800000malePakdata2

above is my data i want the data be viewed in stack bar

as per the country wise, with data source and  then type, and then in that type the i need th overall count

i used dimension as country, data source and type

i used in expresion as =Dual( data source&'-'& Num(Sum(Count),'#,##0','.',','),Sum(Count))

the value has to plot inside segments and then value has to sort and the  colors has to be arranged.

pls help me on this

26 Replies
manoranjan_d
Specialist
Specialist
Author

I've attached the file pls refer

manoranjan_d
Specialist
Specialist
Author

I've attached the file for your refernce

Anonymous
Not applicable

is this you want?

manoranjan_d
Specialist
Specialist
Author

no, when u see the value of second stack bar values are not in low to high ,

when u see the fourth stack bar the color is getting differ becoz, we shd get only sky blue and orange in proper order.we are getting orange and green in the fourth stack bar.

manoranjan_d
Specialist
Specialist
Author

all the stack bar should use three color blue, orange, and green and these color has to assigned according to the sort value, example

if the stack bar has two values then it should show blue and orange

if the stack bar show one value then it should show only blue

if the stack bar display three value then it shd dsiplay the three color blue, orange and green

manoranjan_d
Specialist
Specialist
Author

these inside value has to be sorted from low to high

Not applicable

See attached for sort

Anonymous
Not applicable

It works for 2 dimension but when we add DataSource as well it doesnt work

manoranjan_d
Specialist
Specialist
Author

where is the data source kushshboo

manoranjan_d
Specialist
Specialist
Author

this is the thing i m totally stuck no sol for this , please help me with some other solution i can propose it