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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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