<?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 Funktion to mark up Table line in color in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Funktion-to-mark-up-Table-line-in-color/m-p/2037036#M45697</link>
    <description>&lt;P&gt;Hi Denis,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I createtd now the two what if functions. But now I am lost again.&amp;nbsp;&lt;BR /&gt;I tried to build an Funktion: &lt;STRONG&gt;= IF ([CTR] &amp;lt;0.2, green, red),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Selectedvalue ('CTR what if parameter')&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;is this the way you ment?&amp;nbsp;&lt;BR /&gt;would be aswome if you could have a quick view on this.&amp;nbsp;&lt;BR /&gt;Beste regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Boni&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Aug 2021 08:40:31 GMT</pubDate>
    <dc:creator>Boni</dc:creator>
    <dc:date>2021-08-25T08:40:31Z</dc:date>
    <item>
      <title>Dax Funktion to mark up Table line in color</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Funktion-to-mark-up-Table-line-in-color/m-p/2031694#M45557</link>
      <description>&lt;P&gt;Dear Community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there any dax formular, witch I can Use to mark up the Lines in my table with colors. I specialy need a formular witch mark ups the line when three conditions are completed.&lt;BR /&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I whant to markt the line of "line Item A1" in green because both conditions are completed sucsesfull.&amp;nbsp;&lt;BR /&gt;It would be much better if there is a Slicer that can display if functions.&lt;BR /&gt;That means: when I tell the filter: please mark all lines with a CTR of 0.02% and over 100 impressions in green.&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks for helping me out.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Boni&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Aug 2021 09:01:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Funktion-to-mark-up-Table-line-in-color/m-p/2031694#M45557</guid>
      <dc:creator>Boni</dc:creator>
      <dc:date>2021-08-23T09:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Funktion to mark up Table line in color</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Funktion-to-mark-up-Table-line-in-color/m-p/2031730#M45560</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313985" data-lia-user-login="Boni" class="lia-mention lia-mention-user"&gt;Boni&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that should be possible.&lt;/P&gt;&lt;P&gt;You can create 2 what-if parameter, one for the CTR and one for the impressions. The SELECTEDVALUE from these two slicers you can then use in a "formatting measure". You can check if [CTR] and [impressions] are above the selected values and if yes return green, otherwise red. This measure you can then use for all columns as background formatting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;If you need any help please let me know.&lt;/DIV&gt;&lt;DIV&gt;If I answered your question I would be happy if you could mark my post as a solution &lt;span class="lia-unicode-emoji" title=":heavy_check_mark:"&gt;✔️&lt;/span&gt; and give it a thumbs up &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best regards&lt;/DIV&gt;&lt;DIV&gt;Denis&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Blog: &lt;A title="Click here!" href="https://whatthefact.bi/?utm_source=powerbicommunity&amp;amp;utm_medium=link&amp;amp;utm_campaign=forum" target="_blank" rel="noopener"&gt;&lt;U&gt;WhatTheFact.bi&lt;/U&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;Follow me: &lt;A title="Click here!" href="https://twitter.com/DenSelimovic" target="_blank" rel="noopener"&gt;&lt;U&gt;twitter.com/DenSelimovic&lt;/U&gt;&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Aug 2021 09:14:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Funktion-to-mark-up-Table-line-in-color/m-p/2031730#M45560</guid>
      <dc:creator>selimovd</dc:creator>
      <dc:date>2021-08-23T09:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Funktion to mark up Table line in color</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Funktion-to-mark-up-Table-line-in-color/m-p/2037036#M45697</link>
      <description>&lt;P&gt;Hi Denis,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I createtd now the two what if functions. But now I am lost again.&amp;nbsp;&lt;BR /&gt;I tried to build an Funktion: &lt;STRONG&gt;= IF ([CTR] &amp;lt;0.2, green, red),&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Selectedvalue ('CTR what if parameter')&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;is this the way you ment?&amp;nbsp;&lt;BR /&gt;would be aswome if you could have a quick view on this.&amp;nbsp;&lt;BR /&gt;Beste regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Boni&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 08:40:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Funktion-to-mark-up-Table-line-in-color/m-p/2037036#M45697</guid>
      <dc:creator>Boni</dc:creator>
      <dc:date>2021-08-25T08:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Funktion to mark up Table line in color</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Funktion-to-mark-up-Table-line-in-color/m-p/2038436#M45741</link>
      <description>&lt;P&gt;any chance you can share a sample PBIX file through Onedrive, Dropbox, Google Drive...?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 17:52:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Funktion-to-mark-up-Table-line-in-color/m-p/2038436#M45741</guid>
      <dc:creator>PaulDBrown</dc:creator>
      <dc:date>2021-08-25T17:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Funktion to mark up Table line in color</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Funktion-to-mark-up-Table-line-in-color/m-p/2040459#M45800</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313985" data-lia-user-login="Boni" class="lia-mention lia-mention-user"&gt;Boni&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;more something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Color Measure =
VAR vCTRParameter = SELECTEDVALUE( 'CTR what if parameter'[CTR Column] )
VAR vImpressionParameter = SELECTEDVALUE( 'Impression what if parameter'[Impression Column] )
RETURN
    IF(
        [CTR] &amp;lt; vCTRParameter &amp;amp;&amp;amp; [Impressions] &amp;gt; vImpressionParameter,
        green,
        red
    )&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you work with this? Otherwise I would be happy if you could share your file or create a demo file and I can implement the approach.&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best regards&lt;/DIV&gt;&lt;DIV&gt;Denis&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Blog: &lt;A title="Click here!" href="https://whatthefact.bi/?utm_source=powerbicommunity&amp;amp;utm_medium=link&amp;amp;utm_campaign=forum" target="_blank" rel="noopener"&gt;&lt;U&gt;WhatTheFact.bi&lt;/U&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;Follow me: &lt;A title="Click here!" href="https://twitter.com/DenSelimovic" target="_blank" rel="noopener"&gt;&lt;U&gt;twitter.com/DenSelimovic&lt;/U&gt;&lt;/A&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Aug 2021 12:58:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dax-Funktion-to-mark-up-Table-line-in-color/m-p/2040459#M45800</guid>
      <dc:creator>selimovd</dc:creator>
      <dc:date>2021-08-26T12:58:51Z</dc:date>
    </item>
  </channel>
</rss>

