<?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 Conditional Formatting to Highlight Last Value in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Dax-Conditional-Formatting-to-Highlight-Last-Value/m-p/3271116#M42989</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/406189"&gt;@JanaeWalker864&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure Conditional Format =
VAR __ForecastMonth = MAX('Historical Forecast'[Forecast As Of Date])
VAR __Date = MAX( 'Date'[Date] )
VAR __MaxDate = MAXX ( FILTER( ALL( 'Date' ), 'Historical Forecast'[Forecast as of Date] = __ForecastMonth ), [Date] )
VAR __Result = IF( __Date = __MaxDate, 1, 0 )
RETURN
__Result&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 06 Jun 2023 17:51:19 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2023-06-06T17:51:19Z</dc:date>
    <item>
      <title>Dax Conditional Formatting to Highlight Last Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dax-Conditional-Formatting-to-Highlight-Last-Value/m-p/3270428#M42978</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JanaeWalker864_0-1686053653544.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/924895iC86525338D47E9E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JanaeWalker864_0-1686053653544.png" alt="JanaeWalker864_0-1686053653544.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is an illustration of a forecast. Forecast as of date which comes from my historical forecast table represents the date in which a forecast was updated(In this case the forecast is updated every month) and the matrix displays those values in columns by forecasted month using my Date table. I would like to be able to highlight the last value updated from that month but I can not wrap my head around the logic to apply in a dax formula.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 12:17:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dax-Conditional-Formatting-to-Highlight-Last-Value/m-p/3270428#M42978</guid>
      <dc:creator>JanaeWalker864</dc:creator>
      <dc:date>2023-06-06T12:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Conditional Formatting to Highlight Last Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dax-Conditional-Formatting-to-Highlight-Last-Value/m-p/3270439#M42979</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/406189"&gt;@JanaeWalker864&lt;/a&gt;&amp;nbsp;Tough to be exact since I have no idea about your table and column names. But maybe something like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure Conditional Format = 
  VAR __ForecastMonth = MAX('Forecast'[MonthYear])
  VAR __Date = MAX( 'Dates'[Date] )
  VAR __MaxDate = MAXX ( FILTER( ALL( 'Dates' ), [MonthYear] = __ForecastMonth ), [Date] )
  VAR __Result = IF( __Date = __MaxDate, 1, 0 )
RETURN
  __Result&lt;/LI-CODE&gt;
&lt;P&gt;You can then create a conditional formatting rule based on this measure where 1 is the last date in each forecast month.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2023 12:25:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dax-Conditional-Formatting-to-Highlight-Last-Value/m-p/3270439#M42979</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-06-06T12:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Conditional Formatting to Highlight Last Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dax-Conditional-Formatting-to-Highlight-Last-Value/m-p/3271063#M42985</link>
      <description>&lt;P&gt;This is what I compliled however, I received this error message&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure Conditional Format = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; __ForecastMonth = &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;('Historical Forecast'[Forecast As Of Date])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; __Date = &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;( 'Date'[Date] )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; __MaxDate = &lt;/SPAN&gt;&lt;SPAN&gt;MAXX&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;( &lt;/SPAN&gt;&lt;SPAN&gt;ALL&lt;/SPAN&gt;&lt;SPAN&gt;( 'Date' ), 'Historical Forecast'[Forecast as of Date] = __ForecastMonth ), [Date] )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; __Result = &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;( __Date = __MaxDate, &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAXX&lt;/SPAN&gt;&lt;SPAN&gt;('Historical Forecast', __Result)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;A single value for column 'Forecast as of Date' in table 'Historical Forecast' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to a single unit &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Jun 2023 17:09:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dax-Conditional-Formatting-to-Highlight-Last-Value/m-p/3271063#M42985</guid>
      <dc:creator>JanaeWalker864</dc:creator>
      <dc:date>2023-06-06T17:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dax Conditional Formatting to Highlight Last Value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dax-Conditional-Formatting-to-Highlight-Last-Value/m-p/3271116#M42989</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/406189"&gt;@JanaeWalker864&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure Conditional Format =
VAR __ForecastMonth = MAX('Historical Forecast'[Forecast As Of Date])
VAR __Date = MAX( 'Date'[Date] )
VAR __MaxDate = MAXX ( FILTER( ALL( 'Date' ), 'Historical Forecast'[Forecast as of Date] = __ForecastMonth ), [Date] )
VAR __Result = IF( __Date = __MaxDate, 1, 0 )
RETURN
__Result&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 06 Jun 2023 17:51:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dax-Conditional-Formatting-to-Highlight-Last-Value/m-p/3271116#M42989</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-06-06T17:51:19Z</dc:date>
    </item>
  </channel>
</rss>

