Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
AmCh
Creator
Creator

Chart-Height and percentage

Hi all,

I m trying to build a chart like the following one:

AmCh_0-1630846698614.png

Dimension 1={A,B} which are presented in grey and blue.

Dimension 2={EN,ME} which are elements of each bar.

The difference in total should be visible (eventually the two bars don't have the same height).

The expression I tried for Mekko Chart is:

If(Dimension 1=A,If(Dimension 2=EN,expression-A_EN,expression-A_ME),If(Dimension2=EN,expression-B_EN,expression-B_ME))

I didn't get the wished chart.

Any help please?

Thanks in advance.

 

1 Reply
sunny_talwar

Can you provide some data to see what you have?