<?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 format in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/conditional-format/m-p/4701382#M12530</link>
    <description>&lt;P&gt;Quick question.&lt;/P&gt;&lt;P&gt;This solution worked however it is not marking the first item in the series.&lt;/P&gt;&lt;P&gt;For example the above transactions 145571 + 145572 are marked as red however not 145570.&lt;/P&gt;&lt;P&gt;How can I modify the formula so that 145570 will also be flagged as red.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 May 2025 09:59:51 GMT</pubDate>
    <dc:creator>khisla</dc:creator>
    <dc:date>2025-05-21T09:59:51Z</dc:date>
    <item>
      <title>conditional format</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/conditional-format/m-p/4401398#M12164</link>
      <description>&lt;P&gt;I have the below visual and want to create a conditional format&lt;/P&gt;&lt;P&gt;If the transactio No. is Transaction No +1 of the previous row (for difference store number) to have an icon with a red circle.&lt;/P&gt;&lt;P&gt;For example, in my below data transaction # 145571 + #145572 would have a red circle icon while the others would be green.&lt;/P&gt;&lt;P&gt;My data is filtered on currency therefore not sure if that would impact the conditional formating.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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="khisla_0-1739095976538.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1236314iDF1264558D4910C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="khisla_0-1739095976538.png" alt="khisla_0-1739095976538.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2025 10:16:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/conditional-format/m-p/4401398#M12164</guid>
      <dc:creator>khisla</dc:creator>
      <dc:date>2025-02-09T10:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: conditional format</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/conditional-format/m-p/4401411#M12165</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/910259"&gt;@khisla&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Not sure if you need the solution as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Flag = 
VAR __PrevTrxNo = 
    MAXX(
        OFFSET( 
            -1 ,
            SUMMARIZE(ALLSELECTED(Table01) , Table01[Store No.] , Table01[Transaction No.] ),         
            ORDERBY( Table01[Transaction No.]  )
        ),
        Table01[Transaction No.]
    )
VAR __CurrTrxNo = SELECTEDVALUE(Table01[Transaction No.])
VAR __Result = INT(__PrevTrxNo + 1 = __CurrTrxNo)
RETURN
    __Result&lt;/LI-CODE&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="Fowmy_0-1739098497267.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1236321iA26A8896EA9A2DF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Fowmy_0-1739098497267.png" alt="Fowmy_0-1739098497267.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2025 10:55:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/conditional-format/m-p/4401411#M12165</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2025-02-09T10:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: conditional format</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/conditional-format/m-p/4401590#M12166</link>
      <description>&lt;P&gt;Thanks you so much.&amp;nbsp; The solution worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2025 19:27:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/conditional-format/m-p/4401590#M12166</guid>
      <dc:creator>khisla</dc:creator>
      <dc:date>2025-02-09T19:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: conditional format</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/conditional-format/m-p/4701382#M12530</link>
      <description>&lt;P&gt;Quick question.&lt;/P&gt;&lt;P&gt;This solution worked however it is not marking the first item in the series.&lt;/P&gt;&lt;P&gt;For example the above transactions 145571 + 145572 are marked as red however not 145570.&lt;/P&gt;&lt;P&gt;How can I modify the formula so that 145570 will also be flagged as red.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 09:59:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/conditional-format/m-p/4701382#M12530</guid>
      <dc:creator>khisla</dc:creator>
      <dc:date>2025-05-21T09:59:51Z</dc:date>
    </item>
  </channel>
</rss>

