<?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: Dax formula to calculate % Change, and then Conditional Formatting of that result in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-calculate-Change-and-then-Conditional-Formatting/m-p/1231935#M20122</link>
    <description>&lt;P&gt;HI&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Share sample Data Please in text form&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Nathani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jul 2020 19:56:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-07-17T19:56:52Z</dc:date>
    <item>
      <title>Dax formula to calculate % Change, and then Conditional Formatting of that result</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-calculate-Change-and-then-Conditional-Formatting/m-p/1231833#M20115</link>
      <description>&lt;P&gt;This is sort of a compound problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data table that contains the vacancy by geography and time period.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a matrix visualization that shows that vacancy in two time periods.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to calculate the % change between only those two time periods, and then apply background conditional formatting to only the 2020.06 column of a color range of highest to lowest, and sort the table by the % change of highest to lowest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The two time periods: 2019.06 and 2020.06&lt;/P&gt;&lt;P&gt;% Change = (The vacancy of 2020.06 - the vacancy of 2019.06) / (the vacancy of 2020.06)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the matrix table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 19:02:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-calculate-Change-and-then-Conditional-Formatting/m-p/1231833#M20115</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T19:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dax formula to calculate % Change, and then Conditional Formatting of that result</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-calculate-Change-and-then-Conditional-Formatting/m-p/1231904#M20118</link>
      <description>&lt;P&gt;HI&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming 2019.06 and 2020.06 are measures&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a new measure&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PercentChange = DIVIDE([2020.06] - [2019.06] , [2020.06])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Incase 2019.06 and 2020.06 are columns&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Create a new measure&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PercentChange = DIVIDE(MAX('Table'[2020.06]) - 'Table'(MAX( [2019.06])&amp;nbsp; , MAX('Table'[2020.06]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then Select the&amp;nbsp;2020.06 Column and Right Click, Select Background Formatting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the dropdown Select the measure PercentChange&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Nathani&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Appreciate with a Kudos!! (Click the Thumbs Up Button)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 19:37:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-calculate-Change-and-then-Conditional-Formatting/m-p/1231904#M20118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T19:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dax formula to calculate % Change, and then Conditional Formatting of that result</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-calculate-Change-and-then-Conditional-Formatting/m-p/1231930#M20120</link>
      <description>&lt;P&gt;2019.06 and 2020.06 are values within a column titled 'Year Mo'&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 19:51:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-calculate-Change-and-then-Conditional-Formatting/m-p/1231930#M20120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T19:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dax formula to calculate % Change, and then Conditional Formatting of that result</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-calculate-Change-and-then-Conditional-Formatting/m-p/1231935#M20122</link>
      <description>&lt;P&gt;HI&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Share sample Data Please in text form&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Nathani&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2020 19:56:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-formula-to-calculate-Change-and-then-Conditional-Formatting/m-p/1231935#M20122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-17T19:56:52Z</dc:date>
    </item>
  </channel>
</rss>

