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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Dimension

Hi All, 

Currently i am showing a bar chart with one dimension and one expression . 

IN dimension i am showing Category which displays  Age,Dept,Sector,Gender totally four bars will appear and expression is sum of expenses. 

Now i want to include one more bar in this within category like i want to group altogether and display one more bar as all 

so that now the bar chart should 5 categories like ge,Dept,Sector,Gender and ALL. 

How can i achieve this  within the dimension itself ?

Thanks in Advance 

Labels (1)
1 Solution

Accepted Solutions
Vegar
MVP
MVP

The easiest solution is probably to remove the category  dimension and replace it with 5 measures.

Sum({<Category *={'Age'}>}Expenses) 

Sum({<Category *={'Dept'}>}Expenses) 

Sum({<Category *={'Sector'}>}Expenses) 

Sum({<Category *={'Gender'}>}Expenses) 

Sum({<Category *={"*"}>}Expenses) 

View solution in original post

3 Replies
Vegar
MVP
MVP

The easiest solution is probably to remove the category  dimension and replace it with 5 measures.

Sum({<Category *={'Age'}>}Expenses) 

Sum({<Category *={'Dept'}>}Expenses) 

Sum({<Category *={'Sector'}>}Expenses) 

Sum({<Category *={'Gender'}>}Expenses) 

Sum({<Category *={"*"}>}Expenses) 

smilingjohn
Specialist
Specialist
Author

 Vegar,

Thanks for the reply . This is giving me the solution what i wanted . The only problem is the the legends are not appearing below  the bars but the legends are showing on the right side chart vertically as shown in the attachment .

How to make the legends appear below the bars ?

 

Vegar
MVP
MVP

I don't have QV in front of me, but I would look around in the  properties tab that are handling styling of the axis. 

(You can also remove the dimension from your dimension list if it's still there.)