<?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: Troubleshooting Simple Conversion of String to Date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Troubleshooting-Simple-Conversion-of-String-to-Date/m-p/2948924#M97674</link>
    <description>&lt;P&gt;Thanks for the clarification.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that you can't forecast with a basic line chart while the x-axis is text (i.e. the supposed year as you have described).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Could you please confirm?&lt;/P&gt;</description>
    <pubDate>Mon, 05 Dec 2022 16:13:21 GMT</pubDate>
    <dc:creator>beaverbuzz85</dc:creator>
    <dc:date>2022-12-05T16:13:21Z</dc:date>
    <item>
      <title>Troubleshooting Simple Conversion of String to Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Troubleshooting-Simple-Conversion-of-String-to-Date/m-p/2947181#M97553</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to solve a seemingly simple issue. I am trying to convert the following to a year.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1999/2000 to 2000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1999/2000 (string)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My calculated column is this:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Tax Year = &lt;/SPAN&gt;&lt;SPAN&gt;RIGHT&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Year'&lt;/SPAN&gt;&lt;SPAN&gt;[Financial Year]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;4&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;But after I try to convert that calculate column to "Date" it returns this error:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"Cannot convert value '2000' of type Text to type Date."&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you for the help!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 05 Dec 2022 03:42:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Troubleshooting-Simple-Conversion-of-String-to-Date/m-p/2947181#M97553</guid>
      <dc:creator>beaverbuzz85</dc:creator>
      <dc:date>2022-12-05T03:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Simple Conversion of String to Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Troubleshooting-Simple-Conversion-of-String-to-Date/m-p/2947207#M97554</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="481619" data-lia-user-login="beaverbuzz85" class="lia-mention lia-mention-user"&gt;beaverbuzz85&lt;/a&gt; , in case you need a date &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tax Year&amp;nbsp; date= date( RIGHT('Year'[Financial Year],4),1,1) &lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 04:01:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Troubleshooting-Simple-Conversion-of-String-to-Date/m-p/2947207#M97554</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-12-05T04:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Simple Conversion of String to Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Troubleshooting-Simple-Conversion-of-String-to-Date/m-p/2947343#M97566</link>
      <description>&lt;P&gt;Date format needs the complete set of YYYY-MM-DD, but you only have YYYY.&amp;nbsp; You can set it as text.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 05:59:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Troubleshooting-Simple-Conversion-of-String-to-Date/m-p/2947343#M97566</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2022-12-05T05:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Simple Conversion of String to Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Troubleshooting-Simple-Conversion-of-String-to-Date/m-p/2947477#M97574</link>
      <description>&lt;P&gt;Power BI allows the DATEVALUE DAX formula with parameter as Text, which includes date value in MM/DD/YYYY format, so you need to add the below expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DateVal = DATEVALUE("01/01/" &amp;amp; RIGHT("1999/2000", 4))&lt;/P&gt;&lt;P&gt;Please refer to the below screenshot for the same.&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;Thanks!&lt;/P&gt;&lt;P&gt;Inogic&lt;/P&gt;&lt;P&gt;Innovative Logic &amp;nbsp;&lt;/P&gt;&lt;P&gt;Web:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://www.inogic.com/services/" target="_blank" rel="noopener"&gt;www.inogic.com/services/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Blog:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="http://www.inogic.com/blog" href="http://www.inogic.com/blog" target="_blank" rel="noopener"&gt;http://www.inogic.com/blog&lt;/A&gt;&lt;/P&gt;&lt;P&gt;twitter: @inogic&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 07:14:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Troubleshooting-Simple-Conversion-of-String-to-Date/m-p/2947477#M97574</guid>
      <dc:creator>SamInogic</dc:creator>
      <dc:date>2022-12-05T07:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Simple Conversion of String to Date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Troubleshooting-Simple-Conversion-of-String-to-Date/m-p/2948924#M97674</link>
      <description>&lt;P&gt;Thanks for the clarification.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that you can't forecast with a basic line chart while the x-axis is text (i.e. the supposed year as you have described).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Could you please confirm?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2022 16:13:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Troubleshooting-Simple-Conversion-of-String-to-Date/m-p/2948924#M97674</guid>
      <dc:creator>beaverbuzz85</dc:creator>
      <dc:date>2022-12-05T16:13:21Z</dc:date>
    </item>
  </channel>
</rss>

