<?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: warehouse capacity by location range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773141#M1027278</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am the IT guy...so adding warehouse 1 and 2 to the list isn't a problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2015 11:47:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-10T11:47:08Z</dc:date>
    <item>
      <title>warehouse capacity by location range</title>
      <link>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773137#M1027274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a report that I had help with a week or so ago to report the percentage capacity as a gauge. This worked great but I need to expand it more and I am not quite sure how to do this.&lt;/P&gt;&lt;P&gt;We have 2 warehouses and I want to show the capacity percentage for each warehouse plus an overall percentage. At the moment I have 3 gauges all with the same calculation in them.&lt;/P&gt;&lt;P&gt;How would I separate the 2 warehouses to show the capacity percentage for each?&lt;/P&gt;&lt;P&gt;I know the aisle numbers for each warehouse.&lt;/P&gt;&lt;P&gt;Warehouse 1 goes from A01B01L1 to A49B07L2&lt;/P&gt;&lt;P&gt;Warehouse 2 goes from A50B01L1 to A82B02L2&lt;/P&gt;&lt;P&gt;Could I use a variable to identify warehouse 1 and warehouse 2? How would I incorporate this into the existing scripts on the gauges?&lt;/P&gt;&lt;P&gt;I have attached the qvw file.&lt;/P&gt;&lt;P&gt;I have a spreadsheet that is part of the qvw file that currently has all the locations at warehouse 1 and I am in the process of doing the same for warehouse 2.&lt;/P&gt;&lt;P&gt;I have restricted the aisle range in the script to only include these 2 warehouses.&lt;/P&gt;&lt;P&gt;The location list box shows all locations( currently for warehouse 1) and the table is showing the quantity of each&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773137#M1027274</guid>
      <dc:creator />
      <dc:date>2015-03-10T11:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: warehouse capacity by location range</title>
      <link>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773138#M1027275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can make use of ApplyMap() function.&lt;/P&gt;&lt;P&gt;This is similar to excel vlookup.&lt;/P&gt;&lt;P&gt;You already know the list of Aisle Numbers (Location), use this to make a lookup file (xls,txt,qvd) with 2 fields,&lt;/P&gt;&lt;P&gt;Aisle Number (Location) and Warehouse #.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:42:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773138#M1027275</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2015-03-10T11:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: warehouse capacity by location range</title>
      <link>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773139#M1027276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I noticed from your script that you are loading "Location" from a csv file,&lt;/P&gt;&lt;P&gt;you can probably ask your IT guys to add the Warehouse number into that file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:45:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773139#M1027276</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2015-03-10T11:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: warehouse capacity by location range</title>
      <link>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773140#M1027277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, how would that incorporate into the existing expression in the gauges to give me a gauge for warehouse 1 and warehouse 2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773140#M1027277</guid>
      <dc:creator />
      <dc:date>2015-03-10T11:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: warehouse capacity by location range</title>
      <link>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773141#M1027278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am the IT guy...so adding warehouse 1 and 2 to the list isn't a problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:47:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773141#M1027278</guid>
      <dc:creator />
      <dc:date>2015-03-10T11:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: warehouse capacity by location range</title>
      <link>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773142#M1027279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will that be like Bottom (WH1) and Top(WH2) Warehouse in the Gauges?&lt;/P&gt;&lt;P&gt;It seems you already are familiar with SET Analysis, you can add the mapped field (Warehouse #) as a SET Modifier in your expression.&lt;/P&gt;&lt;P&gt;Count of Distinct Pallets in each Warehouse where Qtyleft &amp;gt; 0,&lt;/P&gt;&lt;P&gt;divided by&lt;/P&gt;&lt;P&gt;Count of Distinct Locations in each Warehouse, multiply by vmaxnumberperbay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:58:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773142#M1027279</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2015-03-10T11:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: warehouse capacity by location range</title>
      <link>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773143#M1027280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would love to take credit for that but I had a lot of help on that by other members of the Qlikview forum.&lt;/P&gt;&lt;P&gt;Yes Bottom(WH1) and Top(WH2) will work. I have amended the spreadsheet so that I can pull in the extra field Warehouse.&lt;/P&gt;&lt;P&gt;Following what you have said my expression looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;num&lt;/SPAN&gt;((&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;QtyLeft&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;0"&lt;/SPAN&gt;},&lt;SPAN style="color: #800000;"&gt;Warehouse&lt;/SPAN&gt;={WH1}&amp;gt;} &lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PalletNo&lt;/SPAN&gt;)) / (&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Warehouse&lt;/SPAN&gt;={WH1}&amp;gt;}&lt;SPAN style="color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Location&lt;/SPAN&gt;) * &lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;vMaxNumberPerBay&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;), '#0.00%')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The gauge has changed for bottom warehouse so I think this is working. Let me check the top warehouse aisles and bays, add them to the spreadsheet and test.&lt;/P&gt;&lt;P&gt;I will get back to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 12:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773143#M1027280</guid>
      <dc:creator />
      <dc:date>2015-03-10T12:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: warehouse capacity by location range</title>
      <link>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773144#M1027281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that has now worked. I am just waiting for another post I made to be approved after moderation as I copy and pasted my expression into it so you could tell me if I have got it right.&lt;/P&gt;&lt;P&gt;I am not getting any errors so I hope so.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 15:28:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773144#M1027281</guid>
      <dc:creator />
      <dc:date>2015-03-10T15:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: warehouse capacity by location range</title>
      <link>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773145#M1027282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cool mate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I merely relayed the logic I pictured in my head, the expression formula was still yours.&lt;/P&gt;&lt;P&gt;Another way to do is use of Flag Fields like "_Flg_WH1" and "_Flg_WH2",&amp;nbsp; whatever works for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 15:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/warehouse-capacity-by-location-range/m-p/773145#M1027282</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2015-03-10T15:50:12Z</dc:date>
    </item>
  </channel>
</rss>

