<?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: Date# Value format error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726886#M591836</link>
    <description>&lt;P&gt;Are you doing cross table load? Would you be able to share sample file?&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jul 2020 15:25:53 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2020-07-10T15:25:53Z</dc:date>
    <item>
      <title>Date# Value format error</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726883#M591834</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If I load only the Willow spreadsheet, I get "&lt;/SPAN&gt;&lt;STRONG&gt;Field not found error Field '1/1/2019' not found&lt;/STRONG&gt;&lt;SPAN&gt;". I have ensured the Excel formats are dates and I have tried&amp;nbsp;date#( [1/1/2019],'M/D/YYYY') as [1/1/2019],&amp;nbsp; and&amp;nbsp;date#(num#(Month),'M/D/YYYY') as Month. For the life of me, I cannot figure out why.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EPIC_HOURS_CROSSTABLE:&lt;BR /&gt;UNQUALIFY*;&lt;BR /&gt;CrossTable(Month, Hours, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;BR /&gt;LOAD [GPL Project #],&lt;BR /&gt;[Ticket #],&lt;BR /&gt;trim(subfield( subfield([Requesting Market],'/'),',')) as EPIC_MARKET,&lt;BR /&gt;// if(wildmatch( trim(subfield( subfield([Requesting Market],'/'),',')),'CHI'),'National', trim(subfield( subfield([Requesting Market],'/'),','))) as EPIC_MARKET,&lt;BR /&gt;[Project Name],&lt;BR /&gt;Comments as HOURS_COMMENTS,&lt;BR /&gt;//[Module for Hours],&lt;BR /&gt;subfield(SubField([Module for Hours],'/',1),',') as [Module for Hours],&lt;BR /&gt;[SA Assigned],&lt;BR /&gt;Status as HOURS_STATUS,&lt;BR /&gt;date#( [1/1/2019],'M/D/YYYY') as [1/1/2019],&lt;BR /&gt;[2/1/2019],&lt;BR /&gt;[3/1/2019],&lt;BR /&gt;[4/1/2019],&lt;BR /&gt;[5/1/2019],&lt;BR /&gt;[6/1/2019],&lt;BR /&gt;[7/1/2019],&lt;BR /&gt;[8/1/2019],&lt;BR /&gt;[9/1/2019],&lt;BR /&gt;[10/1/2019],&lt;BR /&gt;[11/1/2019],&lt;BR /&gt;[12/1/2019],&lt;BR /&gt;[1/1/2020],&lt;BR /&gt;[2/1/2020],&lt;BR /&gt;[3/1/2020],&lt;BR /&gt;[4/1/2020],&lt;BR /&gt;[5/1/2020],&lt;BR /&gt;[6/1/2020],&lt;BR /&gt;[7/1/2020],&lt;BR /&gt;[8/1/2020],&lt;BR /&gt;[9/1/2020],&lt;BR /&gt;[10/1/2020],&lt;BR /&gt;[11/1/2020],&lt;BR /&gt;[12/1/2020],&lt;BR /&gt;[1/1/2021],&lt;BR /&gt;[2/1/2021],&lt;BR /&gt;[3/1/2021],&lt;BR /&gt;[4/1/2021],&lt;BR /&gt;[5/1/2021],&lt;BR /&gt;[6/1/2021],&lt;BR /&gt;[7/1/2021],&lt;BR /&gt;[8/1/2021],&lt;BR /&gt;[9/1/2021],&lt;BR /&gt;[10/1/2021],&lt;BR /&gt;[11/1/2021],&lt;BR /&gt;[12/1/2021],&lt;BR /&gt;[1/1/2022],&lt;BR /&gt;[2/1/2022],&lt;BR /&gt;Column1&lt;BR /&gt;FROM&lt;BR /&gt;[..\External_Data\Epic Capacity Worksheet Willow.xlsx]&lt;BR /&gt;(ooxml, embedded labels, header is 8 lines, table is Optimization, filters(&lt;BR /&gt;Remove(Col, Pos(Top, 14)),&lt;BR /&gt;Remove(Col, Pos(Top, 13)),&lt;BR /&gt;Remove(Col, Pos(Top, 12)),&lt;BR /&gt;Remove(Col, Pos(Top, 11)),&lt;BR /&gt;Remove(Col, Pos(Top, 10)),&lt;BR /&gt;Remove(Col, Pos(Top, 9))&lt;BR /&gt;));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Final:&lt;BR /&gt;LOAD [GPL Project #],&lt;BR /&gt;[Ticket #],&lt;BR /&gt;if(wildmatch(EPIC_MARKET,'CHI'),'National',EPIC_MARKET) as EPIC_MARKET,&lt;BR /&gt;[Project Name],&lt;BR /&gt;if(WildMatch([Module for Hours],'MyChart','EC Link','Care Everywhere') ,'Ambulatory',[Module for Hours]) as [Module for Hours],&lt;BR /&gt;[SA Assigned],&lt;BR /&gt;Hours,&lt;BR /&gt;date#(num#(Month),'M/D/YYYY') as Month&lt;BR /&gt;RESIDENT&lt;BR /&gt;EPIC_HOURS_CROSSTABLE&lt;BR /&gt;where addmonths(monthstart(date(today())),-1)&amp;gt;=Month;&lt;BR /&gt;//where today()-1&amp;gt;=Month;&lt;/P&gt;&lt;P&gt;Drop TABLE EPIC_HOURS_CROSSTABLE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726883#M591834</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2024-11-16T00:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Date# Value format error</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726885#M591835</link>
      <description>&lt;P&gt;Are you doing a CrossTable Load by any chance?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 15:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726885#M591835</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-07-10T15:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Date# Value format error</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726886#M591836</link>
      <description>&lt;P&gt;Are you doing cross table load? Would you be able to share sample file?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 15:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726886#M591836</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-07-10T15:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Date# Value format error</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726914#M591837</link>
      <description>&lt;P&gt;Hey Sunny! Yes, Cross tables plural is what I am trying to do but using only one now to troubleshoot. files and code added.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 16:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726914#M591837</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2020-07-10T16:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Date# Value format error</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726915#M591838</link>
      <description>&lt;P&gt;Added to original post.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 16:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726915#M591838</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2020-07-10T16:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Date# Value format error</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726929#M591839</link>
      <description>&lt;P&gt;Try this &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EPIC_HOURS_CROSSTABLE:
UNQUALIFY*;
CrossTable(Month, Hours, 8)
LOAD [GPL Project #],
[Ticket #],
trim(subfield( subfield([Requesting Market],'/'),',')) as EPIC_MARKET,
[Project Name],
Comments as HOURS_COMMENTS,
subfield(SubField([Module for Hours],'/',1),',') as [Module for Hours],
[SA Assigned],
Status as HOURS_STATUS,
[1/1/2019],
[2/1/2019],
[3/1/2019],
[4/1/2019],
[5/1/2019],
[6/1/2019],
[7/1/2019],
[8/1/2019],
[9/1/2019],
[10/1/2019],
[11/1/2019],
[12/1/2019],
[1/1/2020],
[2/1/2020],
[3/1/2020],
[4/1/2020],
[5/1/2020],
[6/1/2020],
[7/1/2020],
[8/1/2020],
[9/1/2020],
[10/1/2020],
[11/1/2020],
[12/1/2020],
[1/1/2021],
[2/1/2021],
[3/1/2021],
[4/1/2021],
[5/1/2021],
[6/1/2021],
[7/1/2021],
[8/1/2021],
[9/1/2021],
[10/1/2021],
[11/1/2021],
[12/1/2021],
[1/1/2022],
[2/1/2022],
Column1
FROM
[..\External_Data\Epic Capacity Worksheet Willow.xlsx]
(ooxml, embedded labels, header is 8 lines, table is Optimization, filters(
Remove(Col, Pos(Top, 14)),
Remove(Col, Pos(Top, 13)),
Remove(Col, Pos(Top, 12)),
Remove(Col, Pos(Top, 11)),
Remove(Col, Pos(Top, 10)),
Remove(Col, Pos(Top, 9))
));

 

Final:
LOAD [GPL Project #],
[Ticket #],
if(wildmatch(EPIC_MARKET,'CHI'),'National',EPIC_MARKET) as EPIC_MARKET,
[Project Name],
if(WildMatch([Module for Hours],'MyChart','EC Link','Care Everywhere') ,'Ambulatory',[Module for Hours]) as [Module for Hours],
[SA Assigned],
Hours,
Date(Date#(Month,'M/D/YYYY')) as Month
RESIDENT
EPIC_HOURS_CROSSTABLE
where addmonths(monthstart(date(today())),-1)&amp;gt;=Month;
//where today()-1&amp;gt;=Month;

Drop TABLE EPIC_HOURS_CROSSTABLE;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;or&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Date(Num#(Month)) as Month&lt;/LI-CODE&gt;&lt;P&gt;But do this only after the CrossTable Load... don't make any changes to CrossTable with regards to date field formatting.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 17:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726929#M591839</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-07-10T17:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Date# Value format error</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726932#M591840</link>
      <description>&lt;P&gt;I'm still getting error. See attached QVW.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 17:35:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726932#M591840</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2020-07-10T17:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date# Value format error</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726941#M591841</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;EPIC_HOURS_CROSSTABLE:
UNQUALIFY*;
CrossTable(Month, Hours, 8)
LOAD [GPL Project #],
	 [Ticket #],
	 trim(subfield( subfield([Requesting Market],'/'),',')) as EPIC_MARKET,
	 [Project Name],
	 Comments as HOURS_COMMENTS,
	 subfield(SubField([Module for Hours],'/',1),',') as [Module for Hours],
	 [SA Assigned],
	 Status as HOURS_STATUS,
	 [43466], 
     [43497], 
     [43525], 
     [43556], 
     [43586], 
     [43617], 
     [43647], 
     [43678], 
     [43709], 
     [43739], 
     [43770], 
     [43800], 
     [43831], 
     [43862], 
     [43891], 
     [43922], 
     [43952], 
     [43983], 
     [44013], 
     [44044], 
     [44075], 
     [44105], 
     [44136], 
     [44166], 
     [44197], 
     [44228], 
     [44256], 
     [44287], 
     [44317], 
     [44348], 
     [44378], 
     [44409], 
     [44440], 
     [44470], 
     [44501], 
     [44531], 
     [44562], 
     [44593]
FROM [Epic Capacity Worksheet Willow.xlsx]
(ooxml, embedded labels, header is 8 lines, table is Optimization);


Final:
LOAD [GPL Project #],
	 [Ticket #],
	 if(wildmatch(EPIC_MARKET,'CHI'),'National',EPIC_MARKET) as EPIC_MARKET,
	 [Project Name],
	 if(WildMatch([Module for Hours],'MyChart','EC Link','Care Everywhere') ,'Ambulatory',[Module for Hours]) as [Module for Hours],
	 [SA Assigned],
	 Hours,
	 Date(Num#(Month)) as Month
RESIDENT EPIC_HOURS_CROSSTABLE
where addmonths(monthstart(date(today())),-1)&amp;gt;=Month;

Drop TABLE EPIC_HOURS_CROSSTABLE;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 10 Jul 2020 17:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726941#M591841</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-07-10T17:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Date# Value format error</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726951#M591842</link>
      <description>&lt;P&gt;WHat did you have to change? Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 18:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726951#M591842</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2020-07-10T18:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Date# Value format error</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726965#M591843</link>
      <description>&lt;P&gt;Can you have more than 1 cross table in a qvw?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 19:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726965#M591843</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2020-07-10T19:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Date# Value format error</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726992#M591844</link>
      <description>&lt;P&gt;Yes you can have multiple CrossTables in a single qvw&lt;/P&gt;</description>
      <pubDate>Sat, 11 Jul 2020 03:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Value-format-error/m-p/1726992#M591844</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-07-11T03:29:40Z</dc:date>
    </item>
  </channel>
</rss>

