<?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: Return Value is text need value as Date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Value-is-text-need-value-as-Date/m-p/3269192#M121104</link>
    <description>&lt;P&gt;The error is now gone. I tested the created column against the Client (tbl) start date using formula below. I believe the error has been fixed. I'm just trying to fiqure out how to test the fix.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Formula tested was&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Match Dates = &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(Client[ClientlatestEntry]=Client[Start_Date],&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;/P&gt;</description>
    <pubDate>Mon, 05 Jun 2023 19:22:32 GMT</pubDate>
    <dc:creator>jbakerstull</dc:creator>
    <dc:date>2023-06-05T19:22:32Z</dc:date>
    <item>
      <title>Return Value is text need value as Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Value-is-text-need-value-as-Date/m-p/3269167#M121098</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I using the following formula in a column to return max start date per client. The formula works as intended but value is text based, I need it to be date value. Any help would be apperiated.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;LatestEntryDate = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;Client&lt;/SPAN&gt;&lt;SPAN&gt;[Start_Date]&lt;/SPAN&gt;&lt;SPAN&gt; ),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ALLEXCEPT&lt;/SPAN&gt;&lt;SPAN&gt; ( &lt;/SPAN&gt;&lt;SPAN&gt;Client&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;Client&lt;/SPAN&gt;&lt;SPAN&gt;[Clients Personal ID]&lt;/SPAN&gt;&lt;SPAN&gt; ))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Jun 2023 18:53:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Value-is-text-need-value-as-Date/m-p/3269167#M121098</guid>
      <dc:creator>jbakerstull</dc:creator>
      <dc:date>2023-06-05T18:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: Return Value is text need value as Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Value-is-text-need-value-as-Date/m-p/3269176#M121100</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="570108" data-lia-user-login="jbakerstull" class="lia-mention lia-mention-user"&gt;jbakerstull&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It depends. But try to wrap it with DATEVALUE function&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LatestEntryDate =&lt;BR /&gt;DATEVALUE (&lt;BR /&gt;CALCULATE (&lt;BR /&gt;MAX ( Client[Start_Date] ),&lt;BR /&gt;ALLEXCEPT ( Client, Client[Clients Personal ID] )&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 19:04:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Value-is-text-need-value-as-Date/m-p/3269176#M121100</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-05T19:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Return Value is text need value as Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Value-is-text-need-value-as-Date/m-p/3269178#M121101</link>
      <description>&lt;P&gt;Thanks for the reply, following error message populated when I place in Datevalue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Mon, 05 Jun 2023 19:07:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Value-is-text-need-value-as-Date/m-p/3269178#M121101</guid>
      <dc:creator>jbakerstull</dc:creator>
      <dc:date>2023-06-05T19:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Return Value is text need value as Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Value-is-text-need-value-as-Date/m-p/3269182#M121102</link>
      <description>&lt;P&gt;Added Datevalue populated the folling error message:&lt;/P&gt;&lt;P&gt;Too many arguments were passed to the DATEVALUE function. The maximum argument count for the function is 1.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 19:12:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Value-is-text-need-value-as-Date/m-p/3269182#M121102</guid>
      <dc:creator>jbakerstull</dc:creator>
      <dc:date>2023-06-05T19:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Return Value is text need value as Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Value-is-text-need-value-as-Date/m-p/3269192#M121104</link>
      <description>&lt;P&gt;The error is now gone. I tested the created column against the Client (tbl) start date using formula below. I believe the error has been fixed. I'm just trying to fiqure out how to test the fix.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Formula tested was&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Match Dates = &lt;/SPAN&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(Client[ClientlatestEntry]=Client[Start_Date],&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;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 19:22:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Value-is-text-need-value-as-Date/m-p/3269192#M121104</guid>
      <dc:creator>jbakerstull</dc:creator>
      <dc:date>2023-06-05T19:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Return Value is text need value as Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Value-is-text-need-value-as-Date/m-p/3269719#M121132</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="570108" data-lia-user-login="jbakerstull" class="lia-mention lia-mention-user"&gt;jbakerstull&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Match Dates =
IF ( [ClientlatestEntry] = MAX ( Client[Start_Date] ), 1, 0 )&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 06 Jun 2023 05:51:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Return-Value-is-text-need-value-as-Date/m-p/3269719#M121132</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-06-06T05:51:53Z</dc:date>
    </item>
  </channel>
</rss>

