<?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: ODS excel: Text data of XSD type 'DateTime' was expected in SAS Users Group in Israel</title>
    <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750673#M242</link>
    <description>The silver lining in this issue is that the issue goes away if the file is opened and saved again.&lt;BR /&gt;While automating the process manual intervention is not some thing one wants to do. &lt;BR /&gt;SAS has provided an xls to xlsx conversion macro for a different issue. The macro can adapted for automated solution.&lt;BR /&gt;This is available here &lt;A href="http://support.sas.com/kb/43/496.html" target="_blank"&gt;http://support.sas.com/kb/43/496.html&lt;/A&gt;.&lt;BR /&gt;This work around will help you in resolving the issue.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 27 Jun 2021 14:25:51 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2021-06-27T14:25:51Z</dc:date>
    <item>
      <title>ODS excel: Text data of XSD type 'DateTime' was expected</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750638#M235</link>
      <description>good morning all, has anyone encountered this irritating issue? excel files created by ODS EXCEL are opened correctly when opened in excel.. BUT.. When trying to import and excel workbook via Data&amp;gt;New Query&amp;gt;From File&amp;gt;From Workbook, I get the following error: Unable to Connect: Excel - Core Properties part: Text data of XSD type 'DateTime' was expected. after manually re-saving in excel (without changing anything), the error disappears.. but since automation is the goal here so this solution is not relevant. i've found that others encountered this but no solution presented. it is also reported (though i havent checked myself) that that problem occurs on if the file is generated before 11am ?!?!?!!? &lt;A href="https://community.powerbi.com/t5/Power-Query/Unable-to-Connect-Excel-Core-Properties-part-Text-data-of-XSD/m-p/1699173" target="_blank"&gt;https://community.powerbi.com/t5/Power-Query/Unable-to-Connect-Excel-Core-Properties-part-Text-data-of-XSD/m-p/1699173&lt;/A&gt; &lt;A href="https://techcommunity.microsoft.com/t5/excel/new-query-import-error-unable-to-connect-excel-core-properties/m-p/1592839" target="_blank"&gt;https://techcommunity.microsoft.com/t5/excel/new-query-import-error-unable-to-connect-excel-core-properties/m-p/1592839&lt;/A&gt;</description>
      <pubDate>Sun, 27 Jun 2021 04:49:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750638#M235</guid>
      <dc:creator>Assaf_Attas</dc:creator>
      <dc:date>2021-06-27T04:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel: Text data of XSD type 'DateTime' was expected</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750652#M236</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;Can you please share the SAS code used to generate the file?&lt;BR /&gt;If not does the file has xlsx extension or xls.?&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 10:30:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750652#M236</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-06-27T10:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel: Text data of XSD type 'DateTime' was expected</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750653#M237</link>
      <description>&lt;P&gt;basically this is the sas code i'm using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems that the before / after 11AM issue i've mentioned earlier is indeed relevant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file="\\some_location\some_file.xlsx" options(sheet_name='report1');
title;footnote;
proc print data=sashelp.class;run;

ods excel options(sheet_name='report2');
proc print data=sashelp.classfit;run;

ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Jun 2021 11:01:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750653#M237</guid>
      <dc:creator>Assaf_Attas</dc:creator>
      <dc:date>2021-06-27T11:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel: Text data of XSD type 'DateTime' was expected</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750656#M238</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I did find the following difference on dates before and after saving. (I used Libre Office). The file could be imported into power bi after saving&lt;BR /&gt;&lt;STRONG&gt;Original&lt;/STRONG&gt;&lt;BR /&gt;&amp;lt;dcterms:created xsi:type="dcterms:W3CDTF"&amp;gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;2021-06-27T 7:37:29+00:00&lt;/FONT&gt;&lt;/STRONG&gt;&amp;lt;/dcterms:created&amp;gt;&lt;BR /&gt;&lt;STRONG&gt;After saving&lt;/STRONG&gt;&lt;BR /&gt;&amp;lt;dcterms:modified xsi:type="dcterms:W3CDTF"&amp;gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;2021-06-27T07:53:21Z&lt;/FONT&gt;&lt;/STRONG&gt;&amp;lt;/dcterms:modified&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest that your team take up the case with SAS and Microsoft power bi team to resolve the issue.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 12:06:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750656#M238</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-06-27T12:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel: Text data of XSD type 'DateTime' was expected</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750658#M239</link>
      <description>&lt;P&gt;As a postfix to my answer above, if the file can be opened in excel, it should be possible to open in power bi.&lt;BR /&gt;The issue to me looks more on power bi side and should be addressed by that team.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 12:16:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750658#M239</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-06-27T12:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel: Text data of XSD type 'DateTime' was expected</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750671#M240</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thank u very much for your assistance&lt;/P&gt;&lt;P&gt;it seems like u hit the spot and the "problem" is the TimeZone offset..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;although the W3CDTF (iso 8601)&amp;nbsp; allows 2 "legal" options, it seems like SAS adapted one approach while Microsoft adapted the other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yet, remains the question as for the difference SAS register the time zone offset in different hours.&lt;/P&gt;&lt;P&gt;it should not matter at what time the file was generated..&amp;nbsp;&lt;/P&gt;&lt;P&gt;for that reason, i believe it's more like a SAS issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.w3.org/TR/NOTE-datetime" target="_blank"&gt;https://www.w3.org/TR/NOTE-datetime&lt;/A&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;This profile defines two ways of handling time zone offsets:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Times are expressed in UTC (Coordinated Universal Time), with a special UTC designator ("Z").&lt;/LI&gt;&lt;LI&gt;Times are expressed in local time, together with a time zone offset in hours and minutes. A time zone offset of "+hh:mm" indicates that the date/time uses a local time zone which is "hh" hours and "mm" minutes ahead of UTC. A time zone offset of "-hh:mm" indicates that the date/time uses a local time zone which is "hh" hours and "mm" minutes behind UTC.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;"&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 13:39:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750671#M240</guid>
      <dc:creator>Assaf_Attas</dc:creator>
      <dc:date>2021-06-27T13:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel: Text data of XSD type 'DateTime' was expected</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750672#M241</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/330397"&gt;@Assaf_Attas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I searched and it looks like this is a known issue for SAS Technical Support so perhaps the best approach now is to open a support track about it and to hear what they say about it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;
&lt;P&gt;Eyal&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jun 2021 14:02:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750672#M241</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2021-06-27T14:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel: Text data of XSD type 'DateTime' was expected</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750673#M242</link>
      <description>The silver lining in this issue is that the issue goes away if the file is opened and saved again.&lt;BR /&gt;While automating the process manual intervention is not some thing one wants to do. &lt;BR /&gt;SAS has provided an xls to xlsx conversion macro for a different issue. The macro can adapted for automated solution.&lt;BR /&gt;This is available here &lt;A href="http://support.sas.com/kb/43/496.html" target="_blank"&gt;http://support.sas.com/kb/43/496.html&lt;/A&gt;.&lt;BR /&gt;This work around will help you in resolving the issue.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 27 Jun 2021 14:25:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750673#M242</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-06-27T14:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel: Text data of XSD type 'DateTime' was expected</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750751#M243</link>
      <description>&lt;P&gt;i've &lt;SPAN&gt;investigated&amp;nbsp;&lt;/SPAN&gt;further and this is definitely a SAS issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;if generated before 10AM (a single digit HH):&amp;nbsp;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;dcterms:created xsi:type="dcterms:W3CDTF"&amp;gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;2021-06-28T 7:16:33+03:00&lt;/STRONG&gt;&lt;/FONT&gt;&amp;lt;/dcterms:created&amp;gt; - &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Not openable by Excel Power BI&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;if generated after 10AM (a two digit HH):&amp;nbsp;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;dcterms:created xsi:type="dcterms:W3CDTF"&amp;gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;2021-06-28T10:04:09+03:00&lt;/STRONG&gt;&lt;/FONT&gt;&amp;lt;/dcterms:created&amp;gt; - &lt;FONT color="#339966"&gt;&lt;STRONG&gt;Openable&amp;nbsp;by Excel Power BI&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if i manually add a leading zero to HH in core.xml :&amp;nbsp;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;2021-06-28T&lt;FONT color="#FF0000"&gt; 7&lt;/FONT&gt;:16:33+03:00 to&amp;nbsp;2021-06-28T&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT color="#008000"&gt;&lt;STRONG&gt;07&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;:16:33+03:00 -&amp;nbsp;&lt;FONT color="#339966"&gt;Openable&amp;nbsp;by Excel Power BI&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so the problem is that SAS doesn't comply with&amp;nbsp;W3CDTF standard for hours 00:00AM till 09:59AM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13766"&gt;@EyalGonen&lt;/a&gt;&amp;nbsp;, please open a track for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 07:26:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750751#M243</guid>
      <dc:creator>Assaf_Attas</dc:creator>
      <dc:date>2021-06-28T07:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel: Text data of XSD type 'DateTime' was expected</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750753#M244</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/330397"&gt;@Assaf_Attas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot open the track on your behalf. Please email &lt;A href="mailto:support@sas.com" target="_blank"&gt;support@sas.com&lt;/A&gt;&amp;nbsp;to open a track and send in all the relevant info to replicate the issue including the SAS version and code + any additional findings you have found.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eyal&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 08:12:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750753#M244</guid>
      <dc:creator>EyalGonen</dc:creator>
      <dc:date>2021-06-28T08:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: ODS excel: Text data of XSD type 'DateTime' was expected</title>
      <link>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750756#M245</link>
      <description>Hello&lt;BR /&gt;Did you try the workaround  i suggested&lt;BR /&gt;It should solve tour issue.&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Jun 2021 08:28:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Users-Group-in-Israel/ODS-excel-Text-data-of-XSD-type-DateTime-was-expected/m-p/750756#M245</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-06-28T08:28:59Z</dc:date>
    </item>
  </channel>
</rss>

