<?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 Get the most recent value from a numeric column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-most-recent-value-from-a-numeric-column/m-p/1096431#M15991</link>
    <description>&lt;P&gt;Hello, I have a table with lower and upper limits given for specific products (mix name) and measurements method (propertie). Those limits can change with time, and I'm looking for a DAX measurement to give the last limits, I mean the one from the most recent date indication. I tried LASTNONBLANK function on my lower (TI) and upper (TS) columns but it sorts those numeric column from mini to maxi and give me... the maxi! Any solution to identify the most recent limits from my table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;img /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 May 2020 14:06:10 GMT</pubDate>
    <dc:creator>GAETAN63</dc:creator>
    <dc:date>2020-05-19T14:06:10Z</dc:date>
    <item>
      <title>Get the most recent value from a numeric column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-most-recent-value-from-a-numeric-column/m-p/1096431#M15991</link>
      <description>&lt;P&gt;Hello, I have a table with lower and upper limits given for specific products (mix name) and measurements method (propertie). Those limits can change with time, and I'm looking for a DAX measurement to give the last limits, I mean the one from the most recent date indication. I tried LASTNONBLANK function on my lower (TI) and upper (TS) columns but it sorts those numeric column from mini to maxi and give me... the maxi! Any solution to identify the most recent limits from my table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 14:06:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-most-recent-value-from-a-numeric-column/m-p/1096431#M15991</guid>
      <dc:creator>GAETAN63</dc:creator>
      <dc:date>2020-05-19T14:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: Get the most recent value from a numeric column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-most-recent-value-from-a-numeric-column/m-p/1096660#M16003</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="232032" data-lia-user-login="GAETAN63" class="lia-mention lia-mention-user"&gt;GAETAN63&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not very clear as to what is your expected outcome. However, you can create a Table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New Table = Filter ('Table', 'Table'[DateFabrication] = Min('Table'[Data Fabrication])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Nathani&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 16:37:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-most-recent-value-from-a-numeric-column/m-p/1096660#M16003</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-19T16:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get the most recent value from a numeric column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-most-recent-value-from-a-numeric-column/m-p/1096728#M16009</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="232032" data-lia-user-login="GAETAN63" class="lia-mention lia-mention-user"&gt;GAETAN63&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create this new column:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LastItem = IF('Table'[Date] = CALCULATE(MAX('Table'[Date]); filter('Table'; 'Table'[Name] = EARLIER('Table'[Name]))); 1; 0)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Filter the visual:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 May 2020 17:12:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-most-recent-value-from-a-numeric-column/m-p/1096728#M16009</guid>
      <dc:creator>camargos88</dc:creator>
      <dc:date>2020-05-19T17:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get the most recent value from a numeric column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-most-recent-value-from-a-numeric-column/m-p/1097049#M16044</link>
      <description>&lt;LI-CODE lang="csharp"&gt;[Last TI] =
if( 
	HASONEVALUE( T[Mix Name] )
	&amp;amp;&amp;amp; HASONEVALUE( T[Propertie] ),

	var __rows =
		topn(1,
			YourTable,
			YourTable[Date Fabrication],
			DESC
		)
	return
		if(
			COUNTROWS( __rows ) = 1,
			MAXX(
				__rows,
				YourTable[TI]
			)
		)
)

[Last TS] =
if( 
	HASONEVALUE( T[Mix Name] )
	&amp;amp;&amp;amp; HASONEVALUE( T[Propertie] ),

	var __rows =
		topn(1,
			YourTable,
			YourTable[Date Fabrication],
			DESC
		)
	return
		if(
			COUNTROWS( __rows ) = 1,
			MAXX(
				__rows,
				YourTable[TS]
			)
		)
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;
&lt;P&gt;D&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 00:56:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-most-recent-value-from-a-numeric-column/m-p/1097049#M16044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-05-20T00:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get the most recent value from a numeric column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-most-recent-value-from-a-numeric-column/m-p/1097995#M16080</link>
      <description>&lt;P&gt;Hi all! I found a great solution on this last post:&amp;nbsp;&lt;A href="https://community.powerbi.com/t5/Desktop/How-can-I-get-the-last-value-of-a-column-in-my-dataset/td-p/33602" target="_self"&gt;https://community.powerbi.com/t5/Desktop/How-can-I-get-the-last-value-of-a-column-in-my-dataset/td-p/33602&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I put the solution in an updated picture, thanks to all answers below!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;see you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 11:18:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Get-the-most-recent-value-from-a-numeric-column/m-p/1097995#M16080</guid>
      <dc:creator>GAETAN63</dc:creator>
      <dc:date>2020-05-20T11:18:10Z</dc:date>
    </item>
  </channel>
</rss>

