Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Galuyoo
Contributor II
Contributor II

Butterfly chart

Hello, I am trying to make a stacked butterfly chart, but I can not find in the charts list, can anyone tell me if that is possible through Qlik or no?


Like this chart but stacked

Butterfly-Chart.png

Labels (3)
1 Reply
MatheusC
Specialist II
Specialist II

Hi, @Galuyoo 

Yes, it is possible, you can use the bar chart itself to achieve this result, basically using a stacked model, and using a negative sum as in the example below, your 2nd measurement will return and give you the view you are looking for, see a simple example below :

1 – Media = sum({<Category={‘A’}>}sales)
2 = Measure = - sum({<Category={‘B’}>}sales)

You can find a more complete example in the Top 10 Viz Tips, I don't remember at the moment which one has the example but if you need ,just search for Top 10 Viz Tips in your browser and you will find this and other great tips



- Regards, Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!