<?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>idea Re: Reverse Autonumber function in Suggest an Idea</title>
    <link>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/1765752#M4445</link>
    <description>&lt;P&gt;We have some difficulties with numeric id, which would be, indeed, the best solution&amp;nbsp; :&lt;/P&gt;&lt;P&gt;-a lot of source system, with no numeric iD shared&lt;BR /&gt;-even the few systems where we have numeric ID, the number is too long to be interpretated by Qlik as an integer.&lt;BR /&gt;&lt;BR /&gt;As of now, we haven't found a solution that's not too much expensive.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2020 14:47:35 GMT</pubDate>
    <dc:creator>simonaubert</dc:creator>
    <dc:date>2020-12-02T14:47:35Z</dc:date>
    <item>
      <title>Reverse Autonumber function</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idi-p/1765662</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;The idea is simple : a function that allows a reverse of the Autonumber function. As a reminder, autonumber is used to transform a text into a sequential integer for performance reason (hint : it's linked to the reload so it's not deterministic).&lt;BR /&gt;&lt;BR /&gt;We use it a lot for temporary table but every time we loose time to reverse it. So a function that gets the text back would be huge.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Simon&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/45092iA4CA3EAF92076154/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 11:13:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idi-p/1765662</guid>
      <dc:creator>simonaubert</dc:creator>
      <dc:date>2020-12-02T11:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Autonumber function</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/1765692#M4440</link>
      <description>&lt;P&gt;Sorry, but I could not vote for this idea - autonumber() is a pretty cool feature but it's not a&amp;nbsp;very smart function else it just dropped the values from a field - they are substituted by the pointer to the data-table. Therefore it couldn't be (simply) reversed. Further this feature is aimed for the final datamodel and not for the more or less temporary ETL steps before. Using it there doesn't simplified the workflow and/or increased the performance - rather the opposite will happens ...&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 12:30:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/1765692#M4440</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-12-02T12:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Autonumber function</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/1765708#M4441</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28038"&gt;@marcus_sommer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I just get something between 30 and 80% increase of performance by using it in ETL steps. It's better for join, applymap, aggregation, where clause etc, etc... The only downfall is that I have to reverse it at the end. This is really strange you don't have the same gain ?&lt;BR /&gt;&lt;BR /&gt;Edit : as a precision, i have something at least millions or rows per table, often hundred of millions.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Simon&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 13:30:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/1765708#M4441</guid>
      <dc:creator>simonaubert</dc:creator>
      <dc:date>2020-12-02T13:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Autonumber function</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/1765739#M4444</link>
      <description>&lt;P&gt;I never made a particular performance measuring for "&lt;SPAN&gt;join, applymap, aggregation, where clause ...&lt;/SPAN&gt;" with numeric (and especially not with autonumber-values) values against string-values. Of course the processing of strings is more expensive as the processing of numbers but such an increase of performance is quite surprising to me.&lt;/P&gt;&lt;P&gt;Maybe it's caused through the fact that mostly not my CPU is the biggest bottleneck else the storage/network. Further nearly everything what is performance-intense is done with incremental logics - within multiple layers - with where exists() clauses by avoiding joins and aggregations (at least by larger datasets). What's heavily in use is mapping - often with rather small mapping-tables and if they become larger my lookup-value is mostly a number - either from origin or numeric created keys like:&lt;/P&gt;&lt;P&gt;([StoreID] * pow(10, 4)) + [OrderID] * pow(10, 8)) + [PosID]&lt;/P&gt;&lt;P&gt;I think quite often could the keys be replaced by such a numeric logic or anything similar ones. In regard to your workflow I could imagine that you could substitute the autonumber() with numeric ID's which could be mathematically reversed and/or mapped with string-values whereby this &lt;STRONG&gt;not in each ETL step&lt;/STRONG&gt; else just by the final use of the data.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 14:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/1765739#M4444</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-12-02T14:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Autonumber function</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/1765752#M4445</link>
      <description>&lt;P&gt;We have some difficulties with numeric id, which would be, indeed, the best solution&amp;nbsp; :&lt;/P&gt;&lt;P&gt;-a lot of source system, with no numeric iD shared&lt;BR /&gt;-even the few systems where we have numeric ID, the number is too long to be interpretated by Qlik as an integer.&lt;BR /&gt;&lt;BR /&gt;As of now, we haven't found a solution that's not too much expensive.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 14:47:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/1765752#M4445</guid>
      <dc:creator>simonaubert</dc:creator>
      <dc:date>2020-12-02T14:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Autonumber function</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/1765788#M4447</link>
      <description>&lt;P&gt;Yes, that the length of a number is limited (15 digits without any processing - means an association or a join would be possible and 14 digits with a processing like any calculation or a mapping) is really a hard restriction. But for some ID's it might be enough to ensure unique values.&lt;/P&gt;&lt;P&gt;That your data doesn't contain a numeric ID mustn't mandatory mean that you couldn't create ones. Maybe you could apply logics like the following:&lt;/P&gt;&lt;P&gt;NumericID: load Number, String from&amp;nbsp;NumericID.qvd (qvd);&lt;BR /&gt;concatenate load distinct rowno() as Number, String from Fact where not exists(String);&lt;BR /&gt;store&amp;nbsp;NumericID into NumericID.qvd (qvd);&lt;/P&gt;&lt;P&gt;Map: mapping load String, Number from&amp;nbsp;NumericID.qvd (qvd);&lt;/P&gt;&lt;P&gt;Fact: load F1, F2, F3, applymap('Map', String, '#NV') as Number from Fact;&lt;/P&gt;&lt;P&gt;Of course it adds some overhead but probably not more as you already have with your reverse-mapping. Such kind of ID generating should get an own generator-layer to keep the logics as small and clear as possible especially as you would probably combine multiple sources to create a certain ID. With a bit luck you may save a lot of these efforts if you could transfer these tasks into your source-database - in general it should be possible to do it there without touching the source-tables (unless reading them) and creating extra tables for it.&lt;/P&gt;&lt;P&gt;ps. somehow it looked like an own created autonumber.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 16:41:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/1765788#M4447</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-12-02T16:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Autonumber function - Status changed to: Open - Collecting Feedback</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/1879557#M8191</link>
      <description />
      <pubDate>Tue, 11 Jan 2022 13:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/1879557#M8191</guid>
      <dc:creator>Ian_Crosland</dc:creator>
      <dc:date>2022-01-11T13:56:43Z</dc:date>
    </item>
    <item>
      <title>From now on, please track this idea from the Ideation por...</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/2101325#M14566</link>
      <description>&lt;P&gt;From now on, please track this idea from the Ideation portal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A title="Link to new idea" href="https://ideation.qlik.com/app/#/case/274293" target="_blank" rel="noopener"&gt;Link to new idea&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Meghann&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;EM&gt;NOTE: Upon clicking this link 2 tabs may open - please feel free to close the one with a login page. If you &lt;STRONG&gt;only&lt;/STRONG&gt; see 1 tab with the login page, please try clicking this link first: &lt;STRONG&gt;&lt;A title="Authenticate me!" href="#" target="_blank" rel="noopener"&gt;Authenticate me!&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp;t&lt;/EM&gt;&lt;EM&gt;hen try the link above again. Ensure pop-up blocker is off.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 16:22:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/2101325#M14566</guid>
      <dc:creator>Meghann_MacDonald</dc:creator>
      <dc:date>2023-08-02T16:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reverse Autonumber function - Status changed to: Closed - Archived</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/2101326#M14567</link>
      <description />
      <pubDate>Wed, 02 Aug 2023 16:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Reverse-Autonumber-function/idc-p/2101326#M14567</guid>
      <dc:creator>Ideation</dc:creator>
      <dc:date>2023-08-02T16:22:21Z</dc:date>
    </item>
  </channel>
</rss>

