<?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: text to date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3605547#M139293</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I would like to create a variable that identifies the current date, in this case today, and another variable that is the date current -35 days, so that I can do an update automatically, but to do this I believe that I must first&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;being able to convert the Day field into date format and not Text It is currently in Text format&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Dec 2023 13:24:23 GMT</pubDate>
    <dc:creator>alinesilva2</dc:creator>
    <dc:date>2023-12-28T13:24:23Z</dc:date>
    <item>
      <title>text to date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3603753#M139246</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;I need to change the variable of an api I'm working on from text to date, the code is in DAX, how do I do it?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 14:24:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3603753#M139246</guid>
      <dc:creator>alinesilva2</dc:creator>
      <dc:date>2023-12-27T14:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: text to date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3604099#M139256</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="666265" data-lia-user-login="alinesilva2" class="lia-mention lia-mention-user"&gt;alinesilva2&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What you are sharing is the "M" code in Power Query. The Date,ToText function is correct. Is question regarding how to do the same in DAX then&lt;BR /&gt;&lt;BR /&gt;FORMAT ( Table[Date] , "yyyy-mm-dd" )&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2023 19:37:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3604099#M139256</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2023-12-27T19:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: text to date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3605545#M139292</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to create a variable that identifies the current date, in this case today, and another variable that is the date current -35 days, so that I can do an update automatically, but to do this I believe that I must first&lt;BR /&gt;being able to convert the Day field into date format and not Text It is currently in Text format&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:23:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3605545#M139292</guid>
      <dc:creator>alinesilva2</dc:creator>
      <dc:date>2023-12-28T13:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: text to date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3605547#M139293</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I would like to create a variable that identifies the current date, in this case today, and another variable that is the date current -35 days, so that I can do an update automatically, but to do this I believe that I must first&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;being able to convert the Day field into date format and not Text It is currently in Text format&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:24:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3605547#M139293</guid>
      <dc:creator>alinesilva2</dc:creator>
      <dc:date>2023-12-28T13:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: text to date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3605565#M139294</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="666265" data-lia-user-login="alinesilva2" class="lia-mention lia-mention-user"&gt;alinesilva2&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Share some sample date format in text, I will show how to convert it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:33:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3605565#M139294</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2023-12-28T13:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: text to date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3605577#M139295</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;My problem is in this part of the code&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:39:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3605577#M139295</guid>
      <dc:creator>alinesilva2</dc:creator>
      <dc:date>2023-12-28T13:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: text to date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3605582#M139297</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="666265" data-lia-user-login="alinesilva2" class="lia-mention lia-mention-user"&gt;alinesilva2&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Please provide explanation and the expected result&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:44:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3605582#M139297</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2023-12-28T13:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: text to date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3605996#M139307</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I have a field called "DAY" and this field is configured as text type in my API (which is&lt;BR /&gt;my data source), I need to convert this field which is in the format YYYY-MM-DD (text) to DD/MM/YYY (date), as&lt;BR /&gt;This way I can automate my query.&lt;/P&gt;&lt;P&gt;Below is an example of one of my attempts to create these variables.&lt;/P&gt;&lt;P&gt;In this case, the period of time I need is from the day before the current day to 35 days before the current day, in order to have the&lt;BR /&gt;Automatic Update.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 18:04:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3605996#M139307</guid>
      <dc:creator>alinesilva2</dc:creator>
      <dc:date>2023-12-28T18:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: text to date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3606469#M139328</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="666265" data-lia-user-login="alinesilva2" class="lia-mention lia-mention-user"&gt;alinesilva2&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you date is in text as yyyy-mm-dd then just chagne the data type to date:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;You get the result&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 05:54:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/text-to-date/m-p/3606469#M139328</guid>
      <dc:creator>Fowmy</dc:creator>
      <dc:date>2023-12-29T05:54:09Z</dc:date>
    </item>
  </channel>
</rss>

