<?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: Max Date and Value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Date-and-Value/m-p/877993#M7435</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100778" data-lia-user-login="PatrickLamoste" class="lia-mention lia-mention-user"&gt;PatrickLamoste&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;create a measure&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = 
var maxEffDate = calculate(max('Table'[Effective Date]);all('Table'))
return
calculate(MAX('Table'[Hours]);all('Table');'Table'[Effective Date]=maxEffDate)&lt;/LI-CODE&gt;&lt;P&gt;then add this measure to your card visual&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://linkedin.com/in/alekseizhukov" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2019 19:27:56 GMT</pubDate>
    <dc:creator>az38</dc:creator>
    <dc:date>2019-12-17T19:27:56Z</dc:date>
    <item>
      <title>Max Date and Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Date-and-Value/m-p/877957#M7432</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using an SQL table for my data source and I need to display the value on the latest date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Referencing the screenshot below I need to display in a Card that the hours is 23 withour adding the value on 11/11/2019 (6).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Dec 2019 18:31:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Date-and-Value/m-p/877957#M7432</guid>
      <dc:creator>PatrickLamoste</dc:creator>
      <dc:date>2019-12-17T18:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Max Date and Value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Date-and-Value/m-p/877993#M7435</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100778" data-lia-user-login="PatrickLamoste" class="lia-mention lia-mention-user"&gt;PatrickLamoste&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;create a measure&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = 
var maxEffDate = calculate(max('Table'[Effective Date]);all('Table'))
return
calculate(MAX('Table'[Hours]);all('Table');'Table'[Effective Date]=maxEffDate)&lt;/LI-CODE&gt;&lt;P&gt;then add this measure to your card visual&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT color="#ababab"&gt;do not hesitate to give a kudo to useful posts and mark solutions as solution&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://linkedin.com/in/alekseizhukov" target="_blank"&gt;LinkedIn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 19:27:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Max-Date-and-Value/m-p/877993#M7435</guid>
      <dc:creator>az38</dc:creator>
      <dc:date>2019-12-17T19:27:56Z</dc:date>
    </item>
  </channel>
</rss>

