Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Amit_B
Creator
Creator

Partial value and percentage in bar chart

Hi,

How can I see in a Bar chart both the value and the percentage as is possible in a Mekko chart?

IMG-20240122-WA0003.jpg

According to the example, I need that in 2024 '400 (100%)' will appear, and in 2023 the values ​​with 70%-20%-10% will appear respectively.

When I change to percentages then all the columns are in the same  lenght (like Mekko chart) and I don't want that.

IMG-20240122-WA0004.jpg

(Qlik Cloud)

Thanks.

Labels (4)
2 Replies
Anil_Babu_Samineni

@Amit_B  In general , With Dual() such workaround is possible. 

Dual('Your expression for 400' & ' (' & 'Your expression for 100' & ')', 'Your expression for 400')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Amit_B
Creator
Creator
Author

It did not work.

I wrote like this:

Dual(Sum(Amount) & ' (' & (Sum(Amount)/Sum(total<Year>Amount)) & ')', Sum(amount))

I also tried with the ' sign.