Forum Discussion

admin_xlsior's avatar
admin_xlsior
Post Prodigy
5 years ago
Solved

How do Power BI assigned color ?

Hello guys,   Want to know how exactly Power BI assigned Color to visual like Pie chart and Bar chart. Especially for pie chart, depicted in the picture : When customize current theme, I no...
  • v-zhenbw-msft's avatar
    5 years ago

    Hi admin_xlsior ,

     

    We have a test, the maximum value corresponds to color 1, the second largest value corresponds to color 2, like this following screenshot.

     

     

    And if we use two measures, the result is the same as before.

     

     

    And you can refer this article to see the custom theme.

    https://www.c-sharpcorner.com/article/customize-current-theme-from-power-bi-desktop-without-using-json-part-one/

     

    If it doesn’t meet your requirement, could you please provide more detail about your issue? Could you please provide a mockup sample based on fake data?

    It will be helpful if you can show us the exact expected result based on the tables.

     

    Please upload your files to OneDrive For Business and share the link here. Please don't contain any Confidential Information or Real data in your reply.

     

    Best regards,

     

    Community Support Team _ zhenbw

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    BTW, pbix as attached.