<?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 Conditional color by comparison in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Conditional-color-by-comparison/m-p/2630422#M4658</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering it was possible to create something like the below table in PowerBI (it was created in Qlikview).&amp;nbsp; The table compares results for different scenarios.&amp;nbsp; the expression is just 'sum of [Quantity]'.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For clarity the fields used in the table are:&lt;/P&gt;&lt;P&gt;Scenario ID (dimension)&lt;/P&gt;&lt;P&gt;Year (dimension)&lt;/P&gt;&lt;P&gt;Quantity (fact)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PHins3_0-1657530460543.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/746056i428DE99725F0B068/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PHins3_0-1657530460543.png" alt="PHins3_0-1657530460543.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when a single scenario is filtered the cells for the scenario have a yellow background.&amp;nbsp; red and green color formatting is then used for the table cells for the other scenarios;&amp;nbsp; green if the number in the cell is higher than the selected scenario and red if it is a lower value.&amp;nbsp; &amp;nbsp;This is calculated at year level rather than at a total level as can be seen in the image.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;much appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PHins&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jul 2022 09:12:13 GMT</pubDate>
    <dc:creator>PHins3</dc:creator>
    <dc:date>2022-07-11T09:12:13Z</dc:date>
    <item>
      <title>Conditional color by comparison</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Conditional-color-by-comparison/m-p/2630422#M4658</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering it was possible to create something like the below table in PowerBI (it was created in Qlikview).&amp;nbsp; The table compares results for different scenarios.&amp;nbsp; the expression is just 'sum of [Quantity]'.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For clarity the fields used in the table are:&lt;/P&gt;&lt;P&gt;Scenario ID (dimension)&lt;/P&gt;&lt;P&gt;Year (dimension)&lt;/P&gt;&lt;P&gt;Quantity (fact)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PHins3_0-1657530460543.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/746056i428DE99725F0B068/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PHins3_0-1657530460543.png" alt="PHins3_0-1657530460543.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when a single scenario is filtered the cells for the scenario have a yellow background.&amp;nbsp; red and green color formatting is then used for the table cells for the other scenarios;&amp;nbsp; green if the number in the cell is higher than the selected scenario and red if it is a lower value.&amp;nbsp; &amp;nbsp;This is calculated at year level rather than at a total level as can be seen in the image.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;much appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PHins&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 09:12:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Conditional-color-by-comparison/m-p/2630422#M4658</guid>
      <dc:creator>PHins3</dc:creator>
      <dc:date>2022-07-11T09:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional color by comparison</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Conditional-color-by-comparison/m-p/2643142#M4684</link>
      <description>&lt;P&gt;generally you have one measure that provides the cell values and another measure that provides the conditional formatting instructions.&amp;nbsp; You can use FILTERS() to figure out which row in your visual has the focus.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jul 2022 19:19:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Conditional-color-by-comparison/m-p/2643142#M4684</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-07-17T19:19:18Z</dc:date>
    </item>
  </channel>
</rss>

