<?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: conditional formatting rules depending on other value from different column in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/conditional-formatting-rules-depending-on-other-value-from/m-p/2383763#M856419</link>
    <description>&lt;P&gt;'doelstelling' is not a measure, but I made it a measure and now it works with your code, thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 09 Mar 2022 14:51:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-03-09T14:51:19Z</dc:date>
    <item>
      <title>conditional formatting rules depending on other value from different column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/conditional-formatting-rules-depending-on-other-value-from/m-p/2383418#M856309</link>
      <description>&lt;P&gt;I am wondering if it is possible to get the rules from background conditional formattting depending on a value from another column.&lt;BR /&gt;So as you can see under neath I got these rules for a specific table. When the value is less than 0.85 the colour becomes red and when the value is greater than 0.85 it becomes green. I want this values(0.85) depending on a specific column. I want it to depend on the column 'Doelstelling'. So as you can see the values at 'vertrek niet te laat' are all red, because they are all less than 'doelstelling' 85%, but I want the rule automatically change when the 'doelstelling'becomes another value. So when the 'doelstelling' becomes 75% and the 'vertrek niet te laat' changes remain the same, the rules must automatically change and the values from 'vertrek niet te laat' will change to green without me changing te rules, but the column 'doelstelling' change the rules. Is this possible with any function in PowerBi?&lt;img /&gt;&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 11:30:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/conditional-formatting-rules-depending-on-other-value-from/m-p/2383418#M856309</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-09T11:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: conditional formatting rules depending on other value from different column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/conditional-formatting-rules-depending-on-other-value-from/m-p/2383456#M856319</link>
      <description>&lt;P&gt;You can create a new measure which returns a value based on the comparison between the result and the target.&lt;/P&gt;&lt;P&gt;I'm not sure if doelstelling is a column or a measure, but if its a measure then something like&lt;/P&gt;&lt;PRE&gt;Background colour measure =&lt;BR /&gt;var currentValue = CALCULATE( [Vertrek niet te laat] )&lt;BR /&gt;var targetValue = CALCULATE( [doestelling] )&lt;BR /&gt;return IF( currentValue &amp;gt;= targetValue, 1, -1)&lt;/PRE&gt;&lt;P&gt;Then in your background formatting function you can set green if the value is 1 or red if it is -1&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 12:01:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/conditional-formatting-rules-depending-on-other-value-from/m-p/2383456#M856319</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2022-03-09T12:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: conditional formatting rules depending on other value from different column</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/conditional-formatting-rules-depending-on-other-value-from/m-p/2383763#M856419</link>
      <description>&lt;P&gt;'doelstelling' is not a measure, but I made it a measure and now it works with your code, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 14:51:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/conditional-formatting-rules-depending-on-other-value-from/m-p/2383763#M856419</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-03-09T14:51:19Z</dc:date>
    </item>
  </channel>
</rss>

