Forum Discussion
Bar Chart Legend Customize Colors
- Anonymous1 year ago
Hi,Anonymous .Thank you for your reply.
The color setting of the bar in the bar chart is related to the number of fields you put in the vsiual.
When you store one field, you can set the color of the bar uniformly for the entire visualWhen you place multiple fields (including some measures) on the x-axis of a bar
In this case, you need to select the corresponding modified field first, and then set the color of the selected bar.
Are you experiencing color inconsistency with the selected value after modifying the bar? You can try to use another version of Power BI Desktop to see if similar problem occurs. (Please provide the version of Power BI Desktop you are using.)
Links to download historical versions of Desktop
Previous monthly updates to Power BI Desktop and the Power BI service - Power BI | Microsoft Learn
Check if your issue is similar to the following issue, currently there is a temporary issue for incorrect report Theme on Power BI Service.
URL:
Solved: PowerBI desktop theme no longer being applied in t... - Microsoft Fabric Community
If there is any error in my understanding of the issue you are experiencing, please correct me promptly and attach the necessary screenshots of the demo.
Would you be able to reproduce your issue through the pbix file I have provided, which would be more helpful in resolving your issue.
Looking forward to your reply.
HI Anonymous,
The thing with this is it doesn't focus on the legend. Here I want my y axis to be my legend as well. My y axis is categorical and my x axis is numerical. It won't let me change the bar colors. It just greys out the one bar color.
Hi,Anonymous .Thank you for your reply.
The color setting of the bar in the bar chart is related to the number of fields you put in the vsiual.
When you store one field, you can set the color of the bar uniformly for the entire visual
When you place multiple fields (including some measures) on the x-axis of a bar
In this case, you need to select the corresponding modified field first, and then set the color of the selected bar.
Are you experiencing color inconsistency with the selected value after modifying the bar? You can try to use another version of Power BI Desktop to see if similar problem occurs. (Please provide the version of Power BI Desktop you are using.)
Links to download historical versions of Desktop
Previous monthly updates to Power BI Desktop and the Power BI service - Power BI | Microsoft Learn
Check if your issue is similar to the following issue, currently there is a temporary issue for incorrect report Theme on Power BI Service.
URL:
Solved: PowerBI desktop theme no longer being applied in t... - Microsoft Fabric Community
If there is any error in my understanding of the issue you are experiencing, please correct me promptly and attach the necessary screenshots of the demo.
Would you be able to reproduce your issue through the pbix file I have provided, which would be more helpful in resolving your issue.
Looking forward to your reply.
- Anonymous1 year agoNot applicable
Hi Anonymous,
I was able to figure it out with your help. I had to remove the legend and go to the bars section of format visual to change it for each individual category. Is there a way to automatically apply the same color by each one? Or do I have to go and change that for every single one?
- Anonymous1 year agoNot applicable
Hi,Anonymous .Thank you for your reply.
From a practical point of view, you need to manually set a uniform color for each category. This is because power bi automatically assigns different colors to the data values of different groups of categories when you place multiple groups of aggregated fields in a bar/column chart in order to better display the characteristics of the data. This makes it easier to distinguish and compare the data in each group category in the chart.That also helps the user to better handle and observe differences between multiple data categories.
like this:
Thank you very much for your understanding.
Best Regards,
Carson Jian