Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Stacked bar chart colors

Hello,

In my report, I have the field 'Year' -- as Dimension

and Measure is Sum({<[BranchID] = p({<[Year]= {"$(=Max(Year) - 1)"}>})>}[FactSoldAmount]) (using this formula, I calculate the sum of the same companies in different years) .

In this formula I don't use the new branches that was added this year. I want to have a bar chart like in this picture, where new companies will be shown in different colours

Capture.PNG

How can do it?

2 Replies
shraddha_g
Partner - Master III
Partner - Master III

You can use 2nd dimension which will split up bar according to values of the dimension

narband2778
Creator II
Creator II

Use Company Filed as 2nd Dimension.

Properties --> Presentation --> select Stacked and from Colors and Legend --> Enable Colors Auto as shown below.

1.png

HTH

Thanks,

Naresh