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

Block Chart- Average at 1st level and sum at 2nd level

Hi All,

I am trying to create a block chart but I want to show the average at 1st level and sum at 2nd level. Snapshot below-

Mekko chart.png

Can anyone guide me on this ?

Many thanks

Ashish Koul

2 Replies
Gysbert_Wassenaar

As far as I can tell you'll have to use calculated dimensions for that like:

dual(Level1 & ' (' & aggr(avg(Amount),Level1) & ')', Level1)

dual(Level2 & ' (' & aggr(count(Amount),Level2,Level1) & ')', Level2)

and uncheck the option Show Numbers with Labels on the Presentation tab.


talk is cheap, supply exceeds demand
Not applicable
Author

@ Gysbert

Many thanks for the quick response .

Its working fine for 1st level .

In case of 2nd level if anyone from team A and Team B is having same name, then it is adding them up

Also request can you please share any link/tutorial for calculated dimension/ functions like dual , aggr ,etc

Regards

Ashish Koul