Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
amala2020
Contributor II
Contributor II

Stack bar with single dimension and metric

Hi Team,

I am very new to Qlik.

Can you tell me how to create stack bar with single dimension and single metric.

PFB  pic FYR.

amala2020_1-1633793412215.png

 

 

 

 

 

4 Replies
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hi,

Quite not clear about the exact requirement.

Can you please elaborate more with some sample data.

 

Thanks,

Ashutosh

amala2020
Contributor II
Contributor II
Author

Hi Ashutosh,

Thank you for the reply.

My requirement is, i have channel type (A and B) and i have posts metric.

I need to show a stack bar( with A one color and B other color) with Post count metric. 

I am new to qlik. appricriate quick response as i have to deliver the dashbaord

 

AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hi, Is the data looks something like below, Or you can share the sample data to work on.

Data:

Table:
Load * Inline [
Channel,Posts
A,1
B,1
A,1 ];

Output: 

AshutoshBhumkar_0-1634443474714.png

Custom Value Dimension used : 'Posts'

Measure 1 : Count({<Channel = {'A'}>}Posts) (For Channel A)

Measure 2 : Count({<Channel = {'B'}>}Posts) (For Channel B)

Make it stacked from Presentation tab.

 

Thanks,
Ashutosh

 

 

amala2020
Contributor II
Contributor II
Author

Thank you Ashutosh for your help.

i am not sure i could ask like this, Can i have your contact details,  i really need some quick support in my  project for quick deliverables.