<?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 Re: Different color column each month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-color-column-each-month/m-p/2281636#M55834</link>
    <description>&lt;P&gt;There is a small problem&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I color all column?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 12:53:20 GMT</pubDate>
    <dc:creator>giuliapiazza94</dc:creator>
    <dc:date>2022-01-13T12:53:20Z</dc:date>
    <item>
      <title>Different color column each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-color-column-each-month/m-p/2281496#M55825</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I have a matrix like this&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to have a different color for each month&lt;/P&gt;&lt;P&gt;In each month I've 2 measures, so they have to have the same color in the same month.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is possibile?&lt;/P&gt;&lt;P&gt;Thank you all&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 11:41:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-color-column-each-month/m-p/2281496#M55825</guid>
      <dc:creator>giuliapiazza94</dc:creator>
      <dc:date>2022-01-13T11:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Different color column each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-color-column-each-month/m-p/2281554#M55828</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You can create a formatting measure like this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ColorMeasure = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;selection&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;MONTH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MonthColors[Date]&lt;/SPAN&gt;&lt;SPAN&gt;)) &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TRUE&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;selection&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Blue"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;//January&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;selection&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"Green"&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;//And so on, instead of color names you can also use hexacodes e.g. "FFFFFF"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Apply it here:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;End result:&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Then you just need to apply the logic to other columns and the logic works.&lt;BR /&gt;&lt;BR /&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 12:05:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-color-column-each-month/m-p/2281554#M55828</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-13T12:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Different color column each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-color-column-each-month/m-p/2281605#M55833</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 12:35:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-color-column-each-month/m-p/2281605#M55833</guid>
      <dc:creator>giuliapiazza94</dc:creator>
      <dc:date>2022-01-13T12:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Different color column each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-color-column-each-month/m-p/2281636#M55834</link>
      <description>&lt;P&gt;There is a small problem&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I color all column?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 12:53:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-color-column-each-month/m-p/2281636#M55834</guid>
      <dc:creator>giuliapiazza94</dc:creator>
      <dc:date>2022-01-13T12:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Different color column each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-color-column-each-month/m-p/2281803#M55842</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;These rows are likely caused by interaction between row level filters -&amp;gt; these rows don't have values in the month column so this happens.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 14:25:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-color-column-each-month/m-p/2281803#M55842</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-01-13T14:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Different color column each month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-color-column-each-month/m-p/4637935#M177573</link>
      <description>&lt;P&gt;Could this be used for column headers? I can't seem to find a way to do it.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 09:10:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Different-color-column-each-month/m-p/4637935#M177573</guid>
      <dc:creator>Charcho</dc:creator>
      <dc:date>2025-04-04T09:10:34Z</dc:date>
    </item>
  </channel>
</rss>

