<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Dynamically Change Colors in Power BI for Different Product Names in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Change-Colors-in-Power-BI-for-Different-Product/m-p/4652141#M178075</link>
    <description>&lt;P&gt;I have a a table containing a Product Name column with many different product names that can be somewhat long (several words) and new product names are being added all of the time.&amp;nbsp; Is there a way to not only add different colors to the current product names but automatically color any new product names that are added (without having to add the additional procuct and name in an expression)?&amp;nbsp; Once this is accompished, I want to color code the entire row (that has related information about that product) the same color as the product name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any suggestions, as I am very new to this.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Apr 2025 16:30:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-04-14T16:30:59Z</dc:date>
    <item>
      <title>Dynamically Change Colors in Power BI for Different Product Names</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Change-Colors-in-Power-BI-for-Different-Product/m-p/4652141#M178075</link>
      <description>&lt;P&gt;I have a a table containing a Product Name column with many different product names that can be somewhat long (several words) and new product names are being added all of the time.&amp;nbsp; Is there a way to not only add different colors to the current product names but automatically color any new product names that are added (without having to add the additional procuct and name in an expression)?&amp;nbsp; Once this is accompished, I want to color code the entire row (that has related information about that product) the same color as the product name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any suggestions, as I am very new to this.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 16:30:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Change-Colors-in-Power-BI-for-Different-Product/m-p/4652141#M178075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-14T16:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Change Colors in Power BI for Different Product Names</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Change-Colors-in-Power-BI-for-Different-Product/m-p/4652212#M178078</link>
      <description>&lt;LI-CODE lang="markup"&gt; but automatically color any new product names&lt;/LI-CODE&gt;
&lt;P&gt;What's your definition of "new" ?&amp;nbsp; Power BI has no memory, so you need to provided a hint.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 17:14:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Change-Colors-in-Power-BI-for-Different-Product/m-p/4652212#M178078</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-04-14T17:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Change Colors in Power BI for Different Product Names</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Change-Colors-in-Power-BI-for-Different-Product/m-p/4657308#M178316</link>
      <description>&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Hi&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Thank you for reaching out to the Microsoft Fabric Forum Community.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335551550&amp;quot;:0,&amp;quot;335551620&amp;quot;:0,&amp;quot;335559738&amp;quot;:240,&amp;quot;335559739&amp;quot;:240}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335551550&amp;quot;:0,&amp;quot;335551620&amp;quot;:0,&amp;quot;335559738&amp;quot;:240,&amp;quot;335559739&amp;quot;:240}"&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;, for your insights.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;To automate the color coding of product names in Power BI, including for new products, you can follow these steps to apply dynamic and consistent color formatting without manually updating each new product.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559683&amp;quot;:0,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Create a measure in Power BI to automatically assign a unique color to each product name. This should use a method that ensures each product name consistently gets a specific color, even when new products are added. Consider using a hash function or similar logic to map each product name to a color automatically. The goal is to define this mapping in a way that doesn't require manual updates as new products are introduced.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559683&amp;quot;:0,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Once you have set up the dynamic color measure, you can apply it to the "Product Name" column using Power BI’s Conditional Formatting feature. This will automatically color-code the product names based on your defined logic, ensuring consistency.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="1" data-list-defn-props="{&amp;quot;335552541&amp;quot;:1,&amp;quot;335559683&amp;quot;:0,&amp;quot;335559684&amp;quot;:-2,&amp;quot;335559685&amp;quot;:720,&amp;quot;335559991&amp;quot;:360,&amp;quot;469769226&amp;quot;:&amp;quot;Symbol&amp;quot;,&amp;quot;469769242&amp;quot;:[8226],&amp;quot;469777803&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;469777804&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;469777815&amp;quot;:&amp;quot;hybridMultilevel&amp;quot;}" aria-setsize="-1" data-aria-posinset="1" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;To ensure the entire row containing product information is color-coded, apply the same color measure to other columns in your table visual. By setting conditional formatting for each additional column to match the color measure, the entire row will adopt the same color as the product name, creating a cohesive visual display.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;If this post&amp;nbsp;helps, then please give us ‘Kudos’ and consider&amp;nbsp;Accept it as a solution&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Thank you.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233117&amp;quot;:false,&amp;quot;134233118&amp;quot;:false,&amp;quot;335551550&amp;quot;:0,&amp;quot;335551620&amp;quot;:0,&amp;quot;335559738&amp;quot;:240,&amp;quot;335559739&amp;quot;:240}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 10:52:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Change-Colors-in-Power-BI-for-Different-Product/m-p/4657308#M178316</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-04-17T10:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Change Colors in Power BI for Different Product Names</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Change-Colors-in-Power-BI-for-Different-Product/m-p/4660250#M178456</link>
      <description>&lt;P&gt;&lt;SPAN data-teams="true"&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;,&lt;BR /&gt;I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please &lt;STRONG&gt;Accept it as a solution&lt;/STRONG&gt; and give it a '&lt;STRONG&gt;Kudos&lt;/STRONG&gt;' so others can find it easily.&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 04:23:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Change-Colors-in-Power-BI-for-Different-Product/m-p/4660250#M178456</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-04-21T04:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Change Colors in Power BI for Different Product Names</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Change-Colors-in-Power-BI-for-Different-Product/m-p/4666022#M178706</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 06:40:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Change-Colors-in-Power-BI-for-Different-Product/m-p/4666022#M178706</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-04-24T06:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically Change Colors in Power BI for Different Product Names</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Change-Colors-in-Power-BI-for-Different-Product/m-p/4670571#M178896</link>
      <description>&lt;P&gt;Hi Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We haven’t heard back from you regarding your issue. If it has been resolved, please mark the helpful response as the solution and give a ‘Kudos’ to assist others. If you still need support, let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 10:18:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamically-Change-Colors-in-Power-BI-for-Different-Product/m-p/4670571#M178896</guid>
      <dc:creator>v-saisrao-msft</dc:creator>
      <dc:date>2025-04-28T10:18:55Z</dc:date>
    </item>
  </channel>
</rss>

