<?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 Combine 2 Values to create 1 Value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Combine-2-Values-to-create-1-Value/m-p/419290#M1148863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently taking in the following table into Qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41799" class="jive-image" alt="DataSet.png" src="https://community.qlik.com/legacyfs/online/41799_DataSet.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add a formula in the Script so that Qlikview Calculates Pallet Config which is Layer Qty 10 and Pallet Qty 120 to give me a result of 10/120&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41800" class="jive-image" alt="DataSet2.png" src="https://community.qlik.com/legacyfs/online/41800_DataSet2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 May 2013 10:51:54 GMT</pubDate>
    <dc:creator>rustyfishbones</dc:creator>
    <dc:date>2013-05-29T10:51:54Z</dc:date>
    <item>
      <title>Combine 2 Values to create 1 Value</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-2-Values-to-create-1-Value/m-p/419290#M1148863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currently taking in the following table into Qlikview&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41799" class="jive-image" alt="DataSet.png" src="https://community.qlik.com/legacyfs/online/41799_DataSet.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add a formula in the Script so that Qlikview Calculates Pallet Config which is Layer Qty 10 and Pallet Qty 120 to give me a result of 10/120&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="41800" class="jive-image" alt="DataSet2.png" src="https://community.qlik.com/legacyfs/online/41800_DataSet2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 10:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-2-Values-to-create-1-Value/m-p/419290#M1148863</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-05-29T10:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 2 Values to create 1 Value</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-2-Values-to-create-1-Value/m-p/419291#M1148864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please explain the logic a bit more? may be a bigger size data sample would help. it seems that, you have to use some inter-records function like PEEK or PREVIOUS to achieve that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 11:15:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-2-Values-to-create-1-Value/m-p/419291#M1148864</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-05-29T11:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 2 Values to create 1 Value</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-2-Values-to-create-1-Value/m-p/419292#M1148867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will always have 2 rows for each product&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each row contains&amp;nbsp; Pallet Qty and Layer Qty in the fields Name and Qty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to Join Pallet Qty and Layer Qty as one field called Pallet Config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't need more data to explain what I require, hope you can help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 11:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-2-Values-to-create-1-Value/m-p/419292#M1148867</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-05-29T11:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 2 Values to create 1 Value</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-2-Values-to-create-1-Value/m-p/419293#M1148869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, Name, Qty&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Layer Qty, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, Pallet Qty, 120&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Layer Qty, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, Pallet Qty, 80&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join &lt;/P&gt;&lt;P&gt;load Product, concat(Qty,'/') as [Pallet Config]&lt;/P&gt;&lt;P&gt;resident Data&lt;/P&gt;&lt;P&gt;group by Product;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If necessary you can add a sort criterium to the concat function as third parameter. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 11:25:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-2-Values-to-create-1-Value/m-p/419293#M1148869</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-29T11:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 2 Values to create 1 Value</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-2-Values-to-create-1-Value/m-p/419294#M1148870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;table1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; product, name, quantity&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, layer qty, 10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, pallet qty, 120&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, layer qty, 20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, pallet qty, 80&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD product,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;min(quantity) &amp;amp; '/' &amp;amp; max(quantity) as [pallet config]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident table1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;group by product;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Straight table--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension-- product&lt;/P&gt;&lt;P&gt;&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; name&lt;/P&gt;&lt;P&gt;&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; quantity&lt;/P&gt;&lt;P&gt;Expression--&amp;nbsp; [pallet config]&lt;/P&gt;&lt;P&gt;then output like this&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 392px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;product&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;name&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;quantity&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="98"&gt;[pallet config]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none;"&gt;&lt;BR /&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none;"&gt;-&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;layer qty&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;10/120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;pallet qty&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;120&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;10/120&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;layer qty&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20/80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="17" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;pallet qty&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;80&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;20/80&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 12:11:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-2-Values-to-create-1-Value/m-p/419294#M1148870</guid>
      <dc:creator />
      <dc:date>2013-05-29T12:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Combine 2 Values to create 1 Value</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-2-Values-to-create-1-Value/m-p/419295#M1148871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you that's what I need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 12:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-2-Values-to-create-1-Value/m-p/419295#M1148871</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-05-29T12:28:03Z</dc:date>
    </item>
  </channel>
</rss>

