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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RENJITH_R_S
Resolver II
Resolver II

Gantt chat: Color code issue

Hello friends,

 

I have created a calculated column using unichar codes and added to resource field of microsoft gantt chart. I am getting correct output in Power Bi desktop but the same report i am looking from power bi service, i m not getting correct colors. all colors r showing in gray and black. please help on this

 

RENJITH_R_S_0-1637922674459.png

 

1 ACCEPTED SOLUTION

6 REPLIES 6
v-jingzhang
Community Support
Community Support

Hi @RENJITH_R_S 

 

Here is an update

=========================================

It's a known bug in Chromium engine (Chrome, Edge browsers) 1266022 - Emoji rendering lost color in Chrome 96 - chromium

It should be fixed in the following versions of the browser.

The Desktop App uses not the latest version of the Chromium engine, so it works fine for now.

 

Best regards,

Jing

@v-jingzhang , Thanks

v-jingzhang
Community Support
Community Support

Hi @RENJITH_R_S 

 

Can you share the unichar codes of these squares? Which version of Power BI Desktop do you use?

 

I could reproduce this issue and my result is a little different from yours. I tested some unichar codes of colorful squares in Desktop 2.99.621.0 64-bit (November 2021) and put them in resource field of microsoft gantt chart. They displayed in black and grey in my Desktop as well as in the service.

 

You could try some custom gantt charts as an alternative currently. I added this column to Data label field of Gantt Chart by MAQ Software and it shows the colors correctly. 

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

@v-jingzhang , I worked with the MAQ Gantt Chart able to resolve the color issue, but in this there is no sort option available, I need 2 visuals based on sort of 2 columns , 1 visual will sort by start data and 1 will sort by prgram, please let me know your comments

@v-jingzhang , for me color is showing in desktop & in service is not showing. this issue raised after november update. I m using microsoft gantt chart visual

see me code

Final Status Health =
SWITCH(
TRUE(),
_P_WP_DeliverablesAndMilestones[Final Status]="Late Milestone",CONCATENATE(UNICHAR(128997),_P_WP_DeliverablesAndMilestones[Data label]),
_P_WP_DeliverablesAndMilestones[Final Status]="On Track Milestone", CONCATENATE(UNICHAR(129001),_P_WP_DeliverablesAndMilestones[Data label]),
_P_WP_DeliverablesAndMilestones[Final Status]="Completed Milestone", CONCATENATE(UNICHAR(128998),_P_WP_DeliverablesAndMilestones[Data label]),
_P_WP_DeliverablesAndMilestones[Final Status]="Late Deliverable",CONCATENATE(UNICHAR(128308),_P_WP_DeliverablesAndMilestones[Data label]),
_P_WP_DeliverablesAndMilestones[Final Status]="On Track Deliverable", CONCATENATE(UNICHAR(128994),_P_WP_DeliverablesAndMilestones[Data label]),
_P_WP_DeliverablesAndMilestones[Final Status]="Completed Deliverable", CONCATENATE(UNICHAR(128309),_P_WP_DeliverablesAndMilestones[Data label]))

 

RENJITH_R_S_0-1638173623255.png

 

Thank you. I will report this issue and update here if I get any news. 

 

Best regards,

Jing

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.