<?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: How would you load this? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381566#M701309</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent, good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2012 17:36:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-28T17:36:16Z</dc:date>
    <item>
      <title>How would you load this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381559#M701302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an interesting problem and I'm looking for new ways around it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I have a bunch of invoices and the items thereon being given to me in large, flat excel files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To accomplish the desired mission, I need to be able to categorize all of the items. There are 52 "Operations" which are high-level descriptions of what's being done, and there are over 30,000 other items that give the details. I have an Excel file that has categories for all of the operations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to categorize the rest of the items automatically. My idea for how to do this is to look for invoices that have only a single Operation item, and assign that item's category to the rest of the items on that invoice. I have a bit over 250,000 invoices, and 45,000 of them have only one Operation item. I'm creating a table of all of the invoices that have a single operation, and assigning that operation's category to all the items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's where I run into problems: Those items *also* appear on invoices that have multiple Operation codes, where I can't distinguish the category. Because of that, the items show up in the data twice, once with the correct category, and once with a category of null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get a distinct list of item numbers with the categories and not have those nulls? Is there a better way to categorize the items than the approach I'm taking?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 13:09:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381559#M701302</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T13:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: How would you load this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381560#M701303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's hard to decifer this without seeing it, but could you assign a flag, something like, if invoice operation = only 1 operation, set flag to 1 else 2.&amp;nbsp; Then based on that flag assign the category?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 15:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381560#M701303</guid>
      <dc:creator />
      <dc:date>2012-08-28T15:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: How would you load this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381561#M701304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not having a problem assigning the categories to the invoices that only have a single operation - The problem is that the same items will still have a null category if they're on an invoice that doesn't have a single operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm looking for is a way to eliminate the duplicates, or avoid them in the first place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 15:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381561#M701304</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T15:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: How would you load this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381562#M701305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to understand this, if you have Item1 and Item1 can show up on many invoices.&amp;nbsp; However, Item1 can show up on an invoice with only 1 operation and it can show up on an invoice with several operations.&amp;nbsp; Is this correct?&amp;nbsp; Also, are you saying that Item1 can have its own assigned category and it could also be assigned another items category if it shows up on an invoice with other items that only have 1 operation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 15:45:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381562#M701305</guid>
      <dc:creator />
      <dc:date>2012-08-28T15:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: How would you load this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381563#M701306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, here's an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales data:&lt;/P&gt;&lt;P&gt;Invoice #&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Item #&lt;/P&gt;&lt;P&gt;1&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; Operation-Foo&lt;/P&gt;&lt;P&gt;1&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; Part-F&lt;/P&gt;&lt;P&gt;1&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; Part-o&lt;/P&gt;&lt;P&gt;2&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; Operation-Foo&lt;/P&gt;&lt;P&gt;2&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; Operation-Bar&lt;/P&gt;&lt;P&gt;2&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; Part-F&lt;/P&gt;&lt;P&gt;2&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; Part-o&lt;/P&gt;&lt;P&gt;2&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; Part-B&lt;/P&gt;&lt;P&gt;2&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; Part-a&lt;/P&gt;&lt;P&gt;2&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; Part-r&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Category data:&lt;/P&gt;&lt;P&gt;Item#&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; Category&lt;/P&gt;&lt;P&gt;Operation-Foo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gadgets&lt;/P&gt;&lt;P&gt;Operation-Bar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gizmos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'd like to happen is to end up with an Items table as follows:&lt;/P&gt;&lt;P&gt;Item #&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; Category&lt;/P&gt;&lt;P&gt;Operation-Foo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gadgets&lt;/P&gt;&lt;P&gt;Operation-Bar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gizmos&lt;/P&gt;&lt;P&gt;Part-F&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; Gadgets&lt;/P&gt;&lt;P&gt;Part-o&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; Gadgets&lt;/P&gt;&lt;P&gt;Part-B&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; Gizmos&lt;/P&gt;&lt;P&gt;Part-a&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; Gizmos&lt;/P&gt;&lt;P&gt;Part-r&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; Gizmos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way I'm doing things right now, the last three would not be assigned the category of "Gizmos" which is something I'd like to do, but that's beyond what I'm trying to get.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What I'm getting right now is:&lt;/P&gt;&lt;P&gt;Item #&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; Category&lt;/P&gt;&lt;P&gt;Operation-Foo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gadgets&lt;/P&gt;&lt;P&gt;Operation-Bar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gizmos&lt;/P&gt;&lt;P&gt;Part-F&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; Gadgets&lt;/P&gt;&lt;P&gt;Part-F&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; -&lt;/P&gt;&lt;P&gt;Part-o&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; Gadgets&lt;/P&gt;&lt;P&gt;Part-o&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; -&lt;/P&gt;&lt;P&gt;Part-o&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; Gadgets&lt;/P&gt;&lt;P&gt;Part-B&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; -&lt;/P&gt;&lt;P&gt;Part-a&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; -&lt;/P&gt;&lt;P&gt;Part-r&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; -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense... Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 15:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381563#M701306</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T15:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: How would you load this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381564#M701307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By taking all of the invoices that have a single operation you are assigning the items a category (lets call it table 1)&amp;nbsp; are you then trying to use&amp;nbsp; table 1 as a look up table to assign the category to all the items on the invoices with multiple operations?&amp;nbsp; If this is it, you could use an apply map.&amp;nbsp; Let me know if I am getting it or not. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 16:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381564#M701307</guid>
      <dc:creator />
      <dc:date>2012-08-28T16:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: How would you load this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381565#M701308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I solved it. I built a table with all of the distinct items on the single-operation invoices, applied the single-operation category, and then used that as a lookup table when loading all the items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A mapping table might work, too... In fact, I may try that, as the lookup was pretty slow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 17:35:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381565#M701308</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T17:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: How would you load this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381566#M701309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent, good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 17:36:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381566#M701309</guid>
      <dc:creator />
      <dc:date>2012-08-28T17:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: How would you load this?</title>
      <link>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381567#M701310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more thing: Only about 1/3 of the items got categorized based on the single-operation invoice trick - Only slightly under 20% of the invoices have a single operation on them. I'm trying to come up with a way of categorizing the rest of the items... Any ideas would be appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2012 17:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-would-you-load-this/m-p/381567#M701310</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-28T17:58:18Z</dc:date>
    </item>
  </channel>
</rss>

