# One dimension, different colours on bar chart

**URL:** <https://community.eazybi.com/t/one-dimension-different-colours-on-bar-chart/4946>\
**Category:** Questions & Answers\
**Tags:** chart\
**Created:** [July 29, 2020, 9:26am UTC](https://community.eazybi.com/t/one-dimension-different-colours-on-bar-chart/4946 "2020-07-29T09:26:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![strojna.ewa](https://community.eazybi.com/user_avatar/community.eazybi.com/strojna.ewa/32/4136_2.png) [@strojna.ewa](https://community.eazybi.com/u/strojna.ewa)\
**Post date:** [July 29, 2020, 9:26am UTC](https://community.eazybi.com/t/one-dimension-different-colours-on-bar-chart/4946/1 "2020-07-29T09:26:51Z")

</div>

Hi,  
is there a possibility or workaround for creating one chart with different columns colour for the same dimension?  
What do i have:  
Table: ![image](https://community.eazybi.com/uploads/default/original/2X/2/240a77101120caaf3245ea49f4eda7e8c8980d2c.png)  
Chart: ![image](https://community.eazybi.com/uploads/default/original/2X/5/5184e57902d8048478a90ba6d81d9d04a6b6e0c8.png)

What do i need: ![image](https://community.eazybi.com/uploads/default/original/2X/0/0a31e3aac499117935e3f4190d0f172c0fff586a.png)

---

<div class="post-metadata">

**Author:** ![strojna.ewa](https://community.eazybi.com/user_avatar/community.eazybi.com/strojna.ewa/32/4136_2.png) [@strojna.ewa](https://community.eazybi.com/u/strojna.ewa)\
**Post date:** [August 3, 2020, 11:30am UTC](https://community.eazybi.com/t/one-dimension-different-colours-on-bar-chart/4946/2 "2020-08-03T11:30:40Z")

</div>

I’ll leave my answer in here for future:  
I’ve created User Defined measures for every metric like:  
[Status zakres].[R]  
[Status zakres].[A]  
[Status zakres].[G] and so on.

Which gave me table:  
 ![image](https://community.eazybi.com/uploads/default/original/2X/c/c85b9b24cc818d750636e18f05f2a67fc9c42048.png)

And chart:

 ![image](https://community.eazybi.com/uploads/default/original/2X/a/af14a8e00f31ea9da05486b5ee565446600df0e1.png)

---

<div class="post-metadata">

**Author:** ![janis.plume](https://community.eazybi.com/user_avatar/community.eazybi.com/janis.plume/32/8826_2.png) [@janis.plume](https://community.eazybi.com/u/janis.plume)\
**Post date:** [August 4, 2020, 3:08pm UTC](https://community.eazybi.com/t/one-dimension-different-colours-on-bar-chart/4946/3 "2020-08-04T15:08:10Z")

</div>

Hi,

right the separate measures is the solution.

Perhaps, a bit simpler solution is to swap the axes:

 ![image](https://community.eazybi.com/uploads/default/original/2X/e/e68daac705565563c1a9887873ec6e738d63e761.png)

Kindly,

Janis, eazyBI support

---

<div class="post-metadata">

**Author:** ![strojna.ewa](https://community.eazybi.com/user_avatar/community.eazybi.com/strojna.ewa/32/4136_2.png) [@strojna.ewa](https://community.eazybi.com/u/strojna.ewa)\
**Post date:** [August 5, 2020, 5:14am UTC](https://community.eazybi.com/t/one-dimension-different-colours-on-bar-chart/4946/4 "2020-08-05T05:14:25Z")

</div>

You’re completely right… I use this option on daily basis and have no idea how it came i didn’t use it this time 😅
