Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Chanleakna123
Post Prodigy
Post Prodigy

Animation bar chart - how to set color in fields

hi , i have used animation bar chat , i still don't get the Color Field in format of this Animation Bar Chart , may i know how to set the color ? 

1 ACCEPTED SOLUTION

Select your codes from this site this might help https://htmlcolorcodes.com/color-names/

 

 

 

Also, i tested the codes myself, first i created a table of distinct names and specified each a unique hex color code and set the relationship between the main table and the unique names table and then put the hex code column on the colour.

Capture.PNG

 

 

https://drive.google.com/drive/folders/16z-F9svZ3pt_m02PDTqaqH3bPlmejK5v?usp=sharing

 

Try downloading a sample

View solution in original post

5 REPLIES 5
ggzmorsh
Helper II
Helper II

Create a new column with hex codes inside your data or create a new table containing the distinct Names each having a color hex code.

 

To see the changes just switch to a different page and go back to where the bar chart is.

Hi @ggzmorsh , 

 

is the Hex code should be : #4AC5BB   ? 
thx 

 

Yeah that works even if without the # sign.

Make sure each unique Name has its own hex code and if you leave it blank or you did not include the code it will show black.

 

hi @ggzmorsh , 

i have put the this column in the color Field , it doesn't work  , the color still appear as its default. 

 

1.png

Select your codes from this site this might help https://htmlcolorcodes.com/color-names/

 

 

 

Also, i tested the codes myself, first i created a table of distinct names and specified each a unique hex color code and set the relationship between the main table and the unique names table and then put the hex code column on the colour.

Capture.PNG

 

 

https://drive.google.com/drive/folders/16z-F9svZ3pt_m02PDTqaqH3bPlmejK5v?usp=sharing

 

Try downloading a sample

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors