<?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 format are different in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531056#M747919</link>
    <description>Whats the data type for the field in the data model?</description>
    <pubDate>Wed, 16 Jan 2019 14:20:00 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2019-01-16T14:20:00Z</dc:date>
    <item>
      <title>Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531045#M747916</link>
      <description>&lt;P&gt;Hi, im new in QlikView and in make a board to integrate data from different databases and all well fine, but when i try to&amp;nbsp; see this values in a chart some data is not there and found a strange problem with dates and i don't know how to fix it, i attached a image&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="errordefecha.png" style="width: 709px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3854iD57B56B6F7B1CBD5/image-size/large?v=v2&amp;amp;px=999" role="button" title="errordefecha.png" alt="errordefecha.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Isaias&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:44:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531045#M747916</guid>
      <dc:creator>EternalDX</dc:creator>
      <dc:date>2024-11-16T04:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531050#M747917</link>
      <description>In you script where you are loading Fetcha. change it to something like below&lt;BR /&gt;Date(Fetcha, 'YYYY-MM-DD') as Fetcha,</description>
      <pubDate>Wed, 16 Jan 2019 14:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531050#M747917</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-16T14:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531054#M747918</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/49412" target="_self"&gt;Dilipranjith&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have dealt with that but it does the same&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 14:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531054#M747918</guid>
      <dc:creator>EternalDX</dc:creator>
      <dc:date>2019-01-16T14:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531056#M747919</link>
      <description>Whats the data type for the field in the data model?</description>
      <pubDate>Wed, 16 Jan 2019 14:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531056#M747919</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-16T14:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531063#M747920</link>
      <description>I think it's a subject of the databases, in both the data type is date but the collage are different in one is Modern_Spanish_CI_AS and the other isLatin1_General_CI_AS, could it be that? and if so, how do I fix it?</description>
      <pubDate>Wed, 16 Jan 2019 14:27:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531063#M747920</guid>
      <dc:creator>EternalDX</dc:creator>
      <dc:date>2019-01-16T14:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531071#M747921</link>
      <description>You have to fix it when you load it.&lt;BR /&gt;Maybe try combination of date(date#(field, 'DBDATEFormat'),'YouDesiredDATEFORMAT')</description>
      <pubDate>Wed, 16 Jan 2019 14:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531071#M747921</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-01-16T14:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531074#M747922</link>
      <description>&lt;P&gt;Without any measures on the fields by loading the data will be a date only interpreted as date if it has the format as in the default-variables (at the beginning of the script). This means you need to convert and format all date-fields which are different to it. This could be done with: date(date#(DATE, 'FormatString')) and if there are multiple different formattings within a single field maybe with: alt(date(date#(DATE, 'FormatString1')), date(date#(DATE, 'FormatString2'))).&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 14:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531074#M747922</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-01-16T14:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531076#M747924</link>
      <description>&lt;P&gt;the upper dates are in string so use date(date#(Fecha,'YYYY-MM-DD'),'DD/MM/YYYY')&lt;/P&gt;&lt;P&gt;If you&amp;nbsp; have diffrent formats try&amp;nbsp;&lt;/P&gt;&lt;P&gt;alt(your expression,&lt;SPAN&gt;date(date#(Fecha,'YYYY-MM-DD'),'DD/MM/YYYY')) and it shall fetch all the dates properly&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 14:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531076#M747924</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-01-16T14:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531089#M747927</link>
      <description>&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;I will try your solutions but the result are the same, check the picture&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="errordefecha02.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3857i56919A21B1B80FEA/image-size/large?v=v2&amp;amp;px=999" role="button" title="errordefecha02.png" alt="errordefecha02.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 14:58:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531089#M747927</guid>
      <dc:creator>EternalDX</dc:creator>
      <dc:date>2019-01-16T14:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531093#M747928</link>
      <description>alt(date(date#(Fecha,'DD/MM/YYYY'),'DD/MM/YYYY'),date(date#(Fecha,'YYYY-MM-DD'),'DD/MM/YYYY'))</description>
      <pubDate>Wed, 16 Jan 2019 15:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531093#M747928</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-01-16T15:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531096#M747929</link>
      <description>I'm sorry, it gives me the same result a '-'</description>
      <pubDate>Wed, 16 Jan 2019 15:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531096#M747929</guid>
      <dc:creator>EternalDX</dc:creator>
      <dc:date>2019-01-16T15:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531108#M747930</link>
      <description>Please attach screenshot of the source data</description>
      <pubDate>Wed, 16 Jan 2019 15:11:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531108#M747930</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-01-16T15:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531122#M747931</link>
      <description>&lt;P&gt;This is the source&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="errordefecha03.png" style="width: 909px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/3866iF222038D2E395946/image-size/large?v=v2&amp;amp;px=999" role="button" title="errordefecha03.png" alt="errordefecha03.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this is the load script:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indicadores:&lt;BR /&gt;Load&lt;BR /&gt;Bloque&lt;BR /&gt;,Año&lt;BR /&gt;,Mes&lt;BR /&gt;,Dia&lt;BR /&gt;,alt(date(date#(Fecha,'DD/MM/YYYY'),'DD/MM/YYYY'),date(date#(Fecha,'YYYY-MM-DD'),'DD/MM/YYYY')) As Fecha&lt;BR /&gt;,[PotencialBruta]&lt;BR /&gt;,[PotencialNeta]&lt;BR /&gt;,[PotencialAgua]&lt;BR /&gt;,[PotencialGas]&lt;BR /&gt;,PotencialCondensado&lt;BR /&gt;,[DiferidaBruto]&lt;BR /&gt;,[DiferidaNeta]&lt;BR /&gt;,[DiferidaAgua]&lt;BR /&gt;,[DiferidaGas]&lt;BR /&gt;,DiferidaCondensado&lt;BR /&gt;,[HorasDiferida]&lt;BR /&gt;,[BombeoBruta]&lt;BR /&gt;,[BombeoNeto]&lt;BR /&gt;,[BombeoAgua]&lt;BR /&gt;,BombeoCondensado&lt;BR /&gt;,[PozosActivos]&lt;BR /&gt;,[PozosInactivos]&lt;BR /&gt;,[PozosTempInactivos]&lt;BR /&gt;,Gas&lt;BR /&gt;,[Produccion]&lt;BR /&gt;,[ProduccionNeta]&lt;BR /&gt;,[ProduccionAgua]&lt;BR /&gt;,ProduccionGas&lt;BR /&gt;,[Existencias];&lt;/P&gt;&lt;P&gt;SQL SELECT [Bloque]&lt;BR /&gt;,Year(Fecha) As Año&lt;BR /&gt;,Month(Fecha) As Mes&lt;BR /&gt;,Day(Fecha) As Dia&lt;BR /&gt;, Fecha&lt;BR /&gt;,[PotencialBruta]&lt;BR /&gt;,[PotencialNeta]&lt;BR /&gt;,[PotencialAgua]&lt;BR /&gt;,[PotencialGas]&lt;BR /&gt;,[PotencialCondensado]&lt;BR /&gt;,[DiferidaBruto]&lt;BR /&gt;,[DiferidaNeta]&lt;BR /&gt;,[DiferidaAgua]&lt;BR /&gt;,[DiferidaGas]&lt;BR /&gt;,[DiferidaCondensado]&lt;BR /&gt;,[HorasDiferida]&lt;BR /&gt;,[BombeoBruta]&lt;BR /&gt;,[BombeoNeto]&lt;BR /&gt;,[BombeoAgua]&lt;BR /&gt;,[BombeoCondensado]&lt;BR /&gt;,[PozosActivos]&lt;BR /&gt;,[PozosInactivos]&lt;BR /&gt;,[PozosTempInactivos]&lt;BR /&gt;,[Gas]&lt;BR /&gt;,[Produccion]&lt;BR /&gt;,[ProduccionNeta]&lt;BR /&gt;,[ProduccionAgua]&lt;BR /&gt;,[ProduccionGas]&lt;BR /&gt;,[Existencias]&lt;BR /&gt;FROM [dbo].[t_01_Indicadores];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Indicadores2:&lt;BR /&gt;Load&lt;BR /&gt;Bloque&lt;BR /&gt;,Año&lt;BR /&gt;,Mes&lt;BR /&gt;,Dia&lt;BR /&gt;,alt(date(date#(Fecha,'DD/MM/YYYY'),'DD/MM/YYYY'),date(date#(Fecha,'YYYY-MM-DD'),'DD/MM/YYYY')) As Fecha&lt;BR /&gt;,[PotencialBruta]&lt;BR /&gt;,[PotencialNeta]&lt;BR /&gt;,[PotencialAgua]&lt;BR /&gt;,[PotencialGas]&lt;BR /&gt;,PotencialCondensado&lt;BR /&gt;,[DiferidaBruto]&lt;BR /&gt;,[DiferidaNeta]&lt;BR /&gt;,[DiferidaAgua]&lt;BR /&gt;,[DiferidaGas]&lt;BR /&gt;,DiferidaCondensado&lt;BR /&gt;,[HorasDiferida]&lt;BR /&gt;,[BombeoBruta]&lt;BR /&gt;,[BombeoNeto]&lt;BR /&gt;,[BombeoAgua]&lt;BR /&gt;,BombeoCondensado&lt;BR /&gt;,[PozosActivos]&lt;BR /&gt;,[PozosInactivos]&lt;BR /&gt;,[PozosTempInactivos]&lt;BR /&gt;,Gas&lt;BR /&gt;,[Produccion]&lt;BR /&gt;,[ProduccionNeta]&lt;BR /&gt;,[ProduccionAgua]&lt;BR /&gt;,ProduccionGas&lt;BR /&gt;,[Existencias];&lt;BR /&gt;SQL SELECT 0 As Bloque&lt;BR /&gt;,Year(Fecha) As Año&lt;BR /&gt;,Month(Fecha) As Mes&lt;BR /&gt;,Day(Fecha) As Dia&lt;BR /&gt;,Fecha&lt;BR /&gt;,[PotencialBruta]&lt;BR /&gt;,[PotencialNeta]&lt;BR /&gt;,[PotencialAgua]&lt;BR /&gt;,[PotencialGas]&lt;BR /&gt;, 0 As PotencialCondensado&lt;BR /&gt;,[DiferidaBruto]&lt;BR /&gt;,[DiferidaNeta]&lt;BR /&gt;,[DiferidaAgua]&lt;BR /&gt;,[DiferidaGas]&lt;BR /&gt;,0 As DiferidaCondensado&lt;BR /&gt;,[HorasDiferida]&lt;BR /&gt;,[BombeoBruta]&lt;BR /&gt;,[BombeoNeto]&lt;BR /&gt;,[BombeoAgua]&lt;BR /&gt;,0 As BombeoCondensado&lt;BR /&gt;,[PozosActivos]&lt;BR /&gt;,[PozosInactivos]&lt;BR /&gt;,[PozosTempInactivos]&lt;BR /&gt;,[PGMMPCD] As Gas&lt;BR /&gt;,[Produccion]&lt;BR /&gt;,[ProduccionNeta]&lt;BR /&gt;,[ProduccionAgua]&lt;BR /&gt;,0 As ProduccionGas&lt;BR /&gt;,[Existencias]&lt;BR /&gt;FROM [dbo].[v_qv_Indicadores];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 15:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531122#M747931</guid>
      <dc:creator>EternalDX</dc:creator>
      <dc:date>2019-01-16T15:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Date format are different</title>
      <link>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531216#M747932</link>
      <description>Thanks to all, i resolve this with the function MakeDate</description>
      <pubDate>Wed, 16 Jan 2019 18:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-format-are-different/m-p/1531216#M747932</guid>
      <dc:creator>EternalDX</dc:creator>
      <dc:date>2019-01-16T18:04:05Z</dc:date>
    </item>
  </channel>
</rss>

