<?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 Use Filter to get Non-Filtered Accompanied &amp;quot;Shipped With&amp;quot; data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-Filter-to-get-Non-Filtered-Accompanied-quot-Shipped-With/m-p/1747850#M720564</link>
    <description>&lt;P&gt;Using 4 lists to filter: Product Code, Item, Order Number, Order Line:&lt;/P&gt;&lt;P&gt;My client needs to have a "Shipped With" straight table (or other grid/list sheet object) showing all distinct accompanied items and SUM(quantities) that were ordered with the same order(s) as anything in the filter.&amp;nbsp; Example cases:&lt;/P&gt;&lt;P&gt;Case #1: If I filter on one order and one order line, the "shipped with" table should show every item (and summed qty) shipped with one order.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Case #2: If I filter on an item, the grid should show all distinct items on all orders that include that filtered item.&lt;/P&gt;&lt;P&gt;Case #3: if I filter on any one (or more) product code(s), the straight table should show all distinct products&amp;nbsp; (and summed qty) that were included on (shipped with) any order that also included any item with the filtered product code(s).&lt;/P&gt;&lt;P&gt;I've been using Qlik for quite some time, and I've been able to accomplish nearly everything I've needed, but this one has me stumped.&lt;/P&gt;&lt;P&gt;It seems if I put "Item" as a dimension, I only get items that are part of the filter; never the included (shipped with) items.&lt;/P&gt;&lt;P&gt;My attempts at using Set Analysis as a Dimension of the straight-table, to get around the filter, show up as errors.&lt;/P&gt;&lt;P&gt;I've been searching for a couple of weeks, hoping I could find someone doing a similar thing, maybe with dates, that I could alter to fit my purpose, but to no avail.&lt;/P&gt;&lt;P&gt;My current attempts are to flag orders that match the filter, using GetSelectedCount() and use that as a dimension, but so far I'm just getting errors.&amp;nbsp; I'll keep working on it.&lt;/P&gt;&lt;P&gt;If you have an idea I might try, or an example of something that does anything similar, I would be grateful for any suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 18:02:53 GMT</pubDate>
    <dc:creator>Thorqqque</dc:creator>
    <dc:date>2024-11-16T18:02:53Z</dc:date>
    <item>
      <title>Use Filter to get Non-Filtered Accompanied "Shipped With" data</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Filter-to-get-Non-Filtered-Accompanied-quot-Shipped-With/m-p/1747850#M720564</link>
      <description>&lt;P&gt;Using 4 lists to filter: Product Code, Item, Order Number, Order Line:&lt;/P&gt;&lt;P&gt;My client needs to have a "Shipped With" straight table (or other grid/list sheet object) showing all distinct accompanied items and SUM(quantities) that were ordered with the same order(s) as anything in the filter.&amp;nbsp; Example cases:&lt;/P&gt;&lt;P&gt;Case #1: If I filter on one order and one order line, the "shipped with" table should show every item (and summed qty) shipped with one order.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Case #2: If I filter on an item, the grid should show all distinct items on all orders that include that filtered item.&lt;/P&gt;&lt;P&gt;Case #3: if I filter on any one (or more) product code(s), the straight table should show all distinct products&amp;nbsp; (and summed qty) that were included on (shipped with) any order that also included any item with the filtered product code(s).&lt;/P&gt;&lt;P&gt;I've been using Qlik for quite some time, and I've been able to accomplish nearly everything I've needed, but this one has me stumped.&lt;/P&gt;&lt;P&gt;It seems if I put "Item" as a dimension, I only get items that are part of the filter; never the included (shipped with) items.&lt;/P&gt;&lt;P&gt;My attempts at using Set Analysis as a Dimension of the straight-table, to get around the filter, show up as errors.&lt;/P&gt;&lt;P&gt;I've been searching for a couple of weeks, hoping I could find someone doing a similar thing, maybe with dates, that I could alter to fit my purpose, but to no avail.&lt;/P&gt;&lt;P&gt;My current attempts are to flag orders that match the filter, using GetSelectedCount() and use that as a dimension, but so far I'm just getting errors.&amp;nbsp; I'll keep working on it.&lt;/P&gt;&lt;P&gt;If you have an idea I might try, or an example of something that does anything similar, I would be grateful for any suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Filter-to-get-Non-Filtered-Accompanied-quot-Shipped-With/m-p/1747850#M720564</guid>
      <dc:creator>Thorqqque</dc:creator>
      <dc:date>2024-11-16T18:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Use Filter to get Non-Filtered Accompanied "Shipped With" data</title>
      <link>https://community.qlik.com/t5/QlikView/Use-Filter-to-get-Non-Filtered-Accompanied-quot-Shipped-With/m-p/1747884#M720565</link>
      <description>&lt;P&gt;thats a lot of ask.&amp;nbsp; but if this is acceptable, it might help point you to how to solve you other problems.&amp;nbsp;&lt;/P&gt;&lt;P&gt;first, selecting an order and an item and requiring all other orders with the same item:&lt;BR /&gt;&lt;BR /&gt;1. create a variable that will hold the selected item:&amp;nbsp; vItem=only(Item)&lt;/P&gt;&lt;P&gt;2. in your expression, add the all possible values function -&amp;gt; all possible orders with this item:&amp;nbsp; =sum({&amp;lt;item=,Order=p({&amp;lt;Order=,item={'$(vItem)'}&amp;gt;}Order)&amp;gt;}ShipQty)&lt;BR /&gt;it means select all Orders with item = selected item, then sum the shipped qty&lt;BR /&gt;even if a single order is selected (filtered) the condition Order= will override it and return all orders that satisfy the p() function.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 21:32:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-Filter-to-get-Non-Filtered-Accompanied-quot-Shipped-With/m-p/1747884#M720565</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-09-28T21:32:38Z</dc:date>
    </item>
  </channel>
</rss>

