<?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: Qlik keeps formatting numbers based on first match in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2084300#M12387</link>
    <description>&lt;P&gt;This seems a little silly, but it also doesn't seem too important - you can explicitly set the format you want anyway, so the default shouldn't matter too much? This is also an unsupported version of QlikView (though I imagine the same issue would occur in the newest version). Probably would be best to confirm this with the latest version and open a bug with support if it still happens?&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jun 2023 12:44:11 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2023-06-15T12:44:11Z</dc:date>
    <item>
      <title>Qlik keeps formatting numbers based on first match</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2084295#M12385</link>
      <description>&lt;P&gt;Got a MSSQL database with numbers formatted with or without a prefix 0&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_verkooijen_0-1686831730525.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/110196i9EDD36DBE9A0061B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="p_verkooijen_0-1686831730525.png" alt="p_verkooijen_0-1686831730525.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;QlikView May 2022SR2 formats the numbers based on sort order. First row is the winner..&lt;/P&gt;
&lt;P&gt;Qlik Script:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_verkooijen_1-1686831902825.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/110197iD2A39CAE9C49C58A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="p_verkooijen_1-1686831902825.png" alt="p_verkooijen_1-1686831902825.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Output&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LEN en TEXT display's the difference in LEN and content&lt;/P&gt;
&lt;P&gt;Order by ID ASC all&amp;nbsp;EANcode's become 0850010131146&lt;/P&gt;
&lt;P&gt;Order by ID DESC all EANcode's become 850010131146&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_verkooijen_2-1686831915567.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/110198i201DFF534AC1F85F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="p_verkooijen_2-1686831915567.png" alt="p_verkooijen_2-1686831915567.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>Thu, 15 Jun 2023 13:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2084295#M12385</guid>
      <dc:creator>p_verkooijen</dc:creator>
      <dc:date>2023-06-15T13:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik keeps formatting numbers based on first match</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2084300#M12387</link>
      <description>&lt;P&gt;This seems a little silly, but it also doesn't seem too important - you can explicitly set the format you want anyway, so the default shouldn't matter too much? This is also an unsupported version of QlikView (though I imagine the same issue would occur in the newest version). Probably would be best to confirm this with the latest version and open a bug with support if it still happens?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 12:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2084300#M12387</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-06-15T12:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik keeps formatting numbers based on first match</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2084313#M12389</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Although it does not seem to be a too important issue based on the example data but it really is. This is not the only occurrence. The default should remain the source format.&lt;/P&gt;
&lt;P&gt;Its just not the same number and gives a lot of issues down the road matching values and creating the correct output. Turning the content to TEXT same, exports will be TEXT.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see I typed May2021 SR2 instead of May2022 SR2 . (2021 just recently got EOS on May 25, 2023), Tested with May2022SR2, May2023 IR and same issue. Also tested backwards with April2020 and April2019 SR4 all have the same issue output.&lt;/P&gt;
&lt;P&gt;Create a Ticket was the next step.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 13:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2084313#M12389</guid>
      <dc:creator>p_verkooijen</dc:creator>
      <dc:date>2023-06-15T13:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik keeps formatting numbers based on first match</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2084334#M12391</link>
      <description>&lt;P&gt;Another test, did a SQL Select and store as seperate dataset into QVD&lt;/P&gt;
&lt;P&gt;Loading&amp;nbsp;QVD's same issue, the first format still wins&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_verkooijen_0-1686836066950.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/110205i0AFA3A6AF36BD385/image-size/medium?v=v2&amp;amp;px=400" role="button" title="p_verkooijen_0-1686836066950.png" alt="p_verkooijen_0-1686836066950.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_verkooijen_1-1686836079108.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/110206i343DC2F02734BA0B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="p_verkooijen_1-1686836079108.png" alt="p_verkooijen_1-1686836079108.png" /&gt;&lt;/span&gt;&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>Thu, 15 Jun 2023 13:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2084334#M12391</guid>
      <dc:creator>p_verkooijen</dc:creator>
      <dc:date>2023-06-15T13:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik keeps formatting numbers based on first match</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2084342#M12392</link>
      <description>&lt;P&gt;Tested loading these QVD's using Qlik Sense 2023IR&lt;/P&gt;
&lt;P&gt;same &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;load * from C:\Temp\tmp1.qvd (qvd);&lt;BR /&gt;load * from C:\Temp\tmp2.qvd (qvd);&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_verkooijen_2-1686836293770.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/110207iEB4BC138A8B705B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="p_verkooijen_2-1686836293770.png" alt="p_verkooijen_2-1686836293770.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;load * from C:\Temp\tmp2.qvd (qvd);&lt;BR /&gt;load * from C:\Temp\tmp1.qvd (qvd);&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p_verkooijen_3-1686836361104.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/110208iE1EFD58069F05AB1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="p_verkooijen_3-1686836361104.png" alt="p_verkooijen_3-1686836361104.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 13:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2084342#M12392</guid>
      <dc:creator>p_verkooijen</dc:creator>
      <dc:date>2023-06-15T13:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik keeps formatting numbers based on first match</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2084388#M12396</link>
      <description>&lt;P&gt;Created the ticket, for now I fixed it by checking the LEN( vs LEN(NUM(&lt;/P&gt;
&lt;P&gt;Because the NUM on load shows the correct length, the prefixed with 0 is 13 and the rest is 12.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IF(LEN(EANcode)&amp;lt;&amp;gt;LEN(NUM(EANcode)), TEXT(EANcode), EANcode) AS EANcode,&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jun 2023 14:58:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2084388#M12396</guid>
      <dc:creator>p_verkooijen</dc:creator>
      <dc:date>2023-06-15T14:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik keeps formatting numbers based on first match</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2085137#M12410</link>
      <description>&lt;P&gt;Seems to be default behavior, see&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/Leading-zeros-are-missing-in-loaded-data-values/tac-p/2085136#M9473" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Official-Support-Articles/Leading-zeros-are-missing-in-loaded-data-values/tac-p/2085136#M9473&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 07:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2085137#M12410</guid>
      <dc:creator>p_verkooijen</dc:creator>
      <dc:date>2023-06-19T07:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik keeps formatting numbers based on first match</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2132916#M12942</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28986"&gt;@p_verkooijen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another solution is to use Rob's scripting technique - from the link below:&lt;BR /&gt;&lt;A href="https://qlikviewcookbook.com/2016/07/touchless-formatting/" target="_blank"&gt;https://qlikviewcookbook.com/2016/07/touchless-formatting/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In the case of your example, test the script below:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;TempFormatTable:&lt;BR /&gt;LOAD&lt;BR /&gt;TEXT('0') as EANcode&lt;BR /&gt;AutoGenerate 1;&lt;/P&gt;
&lt;P&gt;Data:&lt;BR /&gt;LOAD&lt;BR /&gt;ID as ID,&lt;BR /&gt;EANcode AS EANcode&lt;BR /&gt;from .....&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;DROP Table TempFormatTable;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 12:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2132916#M12942</guid>
      <dc:creator>ElisaF</dc:creator>
      <dc:date>2023-10-30T12:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik keeps formatting numbers based on first match</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2132922#M12943</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/247597"&gt;@ElisaF&lt;/a&gt;&amp;nbsp;thnx but that is not going to work. I want the value to remain 085xxxxx or 85xxxxx&lt;/P&gt;
&lt;P&gt;Using you example it will only be 085&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;As my solution shows, I have to check the length and use TEXT or NUM accordingly to get the full number&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 12:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2132922#M12943</guid>
      <dc:creator>p_verkooijen</dc:creator>
      <dc:date>2023-10-30T12:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik keeps formatting numbers based on first match</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2132951#M12945</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Very strange. I checked the technical solution on QlikView 11.20 SR2 and QlikSense Aug 2023 Patch 3.&lt;/P&gt;
&lt;P&gt;The script is as follows:&lt;/P&gt;
&lt;P&gt;TempFormatTable:&lt;BR /&gt;LOAD&lt;BR /&gt;TEXT('0') as EANcode&lt;BR /&gt;AutoGenerate 1;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Data:&lt;BR /&gt;LOAD&lt;BR /&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AS ID,&lt;BR /&gt;EANcode&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AS EANcode,&lt;BR /&gt;TEXT(EANcode)&amp;nbsp; &amp;nbsp; &amp;nbsp;AS EANcode_Text // Desire Output&lt;BR /&gt;;&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;ID , EANcode&lt;BR /&gt;100, 850010131146&lt;BR /&gt;101, 0850010131146&lt;BR /&gt;102, 0850010131147&lt;BR /&gt;103, 850010131147&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;DROP Table TempFormatTable;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ouput:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Liza_2028_0-1698672392295.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/119059i9852F56F99B98D60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Liza_2028_0-1698672392295.png" alt="Liza_2028_0-1698672392295.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you get the same output with the script above, I recommend in the SQL syntax to convert EANCode to varchar.&lt;BR /&gt;Although I don't think this is the cause.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2023 13:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2132951#M12945</guid>
      <dc:creator>ElisaF</dc:creator>
      <dc:date>2023-10-30T13:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik keeps formatting numbers based on first match</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2133401#M12949</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/247597"&gt;@ElisaF&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thank you for the example, I will check if this works for me&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 14:30:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2133401#M12949</guid>
      <dc:creator>p_verkooijen</dc:creator>
      <dc:date>2023-10-31T14:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik keeps formatting numbers based on first match</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2133567#M12952</link>
      <description>&lt;P&gt;Thanks for the reply. I look forward to your feedback. I am curious if the solution solved your issue.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 03:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Qlik-keeps-formatting-numbers-based-on-first-match/m-p/2133567#M12952</guid>
      <dc:creator>ElisaF</dc:creator>
      <dc:date>2023-11-01T03:59:52Z</dc:date>
    </item>
  </channel>
</rss>

