<?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: Converting Mailchimp Date to an actual date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Mailchimp-Date-to-an-actual-date/m-p/878844#M7458</link>
    <description>&lt;P&gt;That format is ISO8601 and is fairly standard and is recognised by Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if this will help but... when I enter that value in an "Enter Data" new query it &lt;STRONG&gt;automatically&lt;/STRONG&gt; translates it into a date and provides this as the steps it takes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjIwtNQ1MAWiEENjKyMTKxMzbQMDKwMDpdhYAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [Mailchimp_Date = _t]),&lt;BR /&gt;#"Changed Type" = Table.TransformColumnTypes(Source,{{"Mailchimp_Date", type datetime}})&lt;BR /&gt;in&lt;BR /&gt;#"Changed Type"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"i45WMjIwtNQ1MAWiEENjKyMTKxMzbQMDKwMDpdhYAA==" is the binary encoding for your value&amp;nbsp;&lt;SPAN&gt;"2019-05-05T13:24:46+00:00"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could it be the double quotes around the value that is making Power BI think it is text? Can you strip them out?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2019 13:54:20 GMT</pubDate>
    <dc:creator>cpearson</dc:creator>
    <dc:date>2019-12-18T13:54:20Z</dc:date>
    <item>
      <title>Converting Mailchimp Date to an actual date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Mailchimp-Date-to-an-actual-date/m-p/859452#M6925</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; I have original data from Mailchimp for "Send Time" which is not formated as date, and has values like: "2019-05-05T13:24:46+00:00"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't format this as a date, I get an #Error (it's currently text.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a new colum called Date Sent, which works with this formula:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Date Sent = left('Campaign Summary'[send_time],10)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;which at least gets the relevant characters, which still can't be formatted as a date (#Error).&amp;nbsp; I've tried changing the format in the "Modeling" tab.&amp;nbsp; &amp;nbsp;I've also tried doing a third column (I know this is silly) which would do this:&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;format date sent = format('Campaign Summary'[Date Sent],"MM/YY") - which still returns only text.&lt;BR /&gt;&lt;BR /&gt;I only want this to customize my table for relative date filtering, which it can't do on text.&amp;nbsp; Another option is to sort it by the text (which at least shows the most recent at the top), but then to limit the table to only the top ten records.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Please let me know if there is a solution here.&amp;nbsp; Thank you!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 28 Nov 2019 09:07:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Mailchimp-Date-to-an-actual-date/m-p/859452#M6925</guid>
      <dc:creator>Unicorn_Tech</dc:creator>
      <dc:date>2019-11-28T09:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Mailchimp Date to an actual date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Mailchimp-Date-to-an-actual-date/m-p/878736#M7454</link>
      <description>&lt;P&gt;Hey, did you get a solution. I am having the same issue.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 11:30:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Mailchimp-Date-to-an-actual-date/m-p/878736#M7454</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-18T11:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Mailchimp Date to an actual date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Mailchimp-Date-to-an-actual-date/m-p/878841#M7457</link>
      <description>&lt;P&gt;You should use Power Query.&lt;/P&gt;&lt;P&gt;Change it to datetime.&lt;/P&gt;&lt;P&gt;Then, in a second step, change it to date.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 13:51:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Mailchimp-Date-to-an-actual-date/m-p/878841#M7457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-18T13:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Mailchimp Date to an actual date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Mailchimp-Date-to-an-actual-date/m-p/878844#M7458</link>
      <description>&lt;P&gt;That format is ISO8601 and is fairly standard and is recognised by Power BI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if this will help but... when I enter that value in an "Enter Data" new query it &lt;STRONG&gt;automatically&lt;/STRONG&gt; translates it into a date and provides this as the steps it takes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&lt;BR /&gt;Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjIwtNQ1MAWiEENjKyMTKxMzbQMDKwMDpdhYAA==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [Mailchimp_Date = _t]),&lt;BR /&gt;#"Changed Type" = Table.TransformColumnTypes(Source,{{"Mailchimp_Date", type datetime}})&lt;BR /&gt;in&lt;BR /&gt;#"Changed Type"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"i45WMjIwtNQ1MAWiEENjKyMTKxMzbQMDKwMDpdhYAA==" is the binary encoding for your value&amp;nbsp;&lt;SPAN&gt;"2019-05-05T13:24:46+00:00"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could it be the double quotes around the value that is making Power BI think it is text? Can you strip them out?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 13:54:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Mailchimp-Date-to-an-actual-date/m-p/878844#M7458</guid>
      <dc:creator>cpearson</dc:creator>
      <dc:date>2019-12-18T13:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Mailchimp Date to an actual date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Mailchimp-Date-to-an-actual-date/m-p/1036440#M13802</link>
      <description>&lt;P&gt;In case someone has the same problem and finds this thread: in Power Query there is a data type Date/Time/Timezone. Selecting the column and applying this data type did the trick for me.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 12:14:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Converting-Mailchimp-Date-to-an-actual-date/m-p/1036440#M13802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-20T12:14:56Z</dc:date>
    </item>
  </channel>
</rss>

