<?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: Problem with expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-expression/m-p/651699#M1086411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show expected output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jun 2014 12:45:20 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-06-10T12:45:20Z</dc:date>
    <item>
      <title>Problem with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-expression/m-p/651698#M1086410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, again I need your help &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; I spent 3 days on solving this and still I can't figure it out &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;This is fragment of my table, my source of data:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Product_ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Location&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Location_Details&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;110&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Spain&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;garage&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;110&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Spain&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;house&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;110&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Italy&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;garage&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;110&lt;/TD&gt;&lt;TD&gt;Italy&lt;/TD&gt;&lt;TD&gt;garage&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;110&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Italy&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;house&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;110&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;United Kingdom&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;street&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;154&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Poland&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;house&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;178&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Spain&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;garage&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is my problem : &lt;BR /&gt;I need to create a new table, in which I'll have a Product ID, Location, and the amount of Product_ID in particular Location but all of this have to fullfilled following condition :&lt;/P&gt;&lt;P&gt;I'm looking for a Product_ID which is divided into parts - by this I mean that :&lt;BR /&gt;1. Particular Product_ID is in different locations - then I know that some part of my product is in Spain and some in Italy so I can assume that it is divided&lt;/P&gt;&lt;P&gt;2. Particular Product_ID is in the same location but in different Location_Details - now all of parts of my Product can be in Spain but in different Location_Details so it is divided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected Output : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Product_ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Location&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Amount&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;110&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Spain&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;110&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Italy &lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;110&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;United Kingdom&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After 3 days my brain hurts when i'm looking at this table &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;I feel that im close but still my pivot table shows some null values when it is expanded ...&lt;/P&gt;&lt;P&gt;I hope some genius qlikview users will be able to solve this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 12:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-expression/m-p/651698#M1086410</guid>
      <dc:creator />
      <dc:date>2014-06-10T12:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-expression/m-p/651699#M1086411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you show expected output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 12:45:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-expression/m-p/651699#M1086411</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-06-10T12:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-expression/m-p/651700#M1086412</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;SPAN style="color: #0000ff; font-size: 8pt;"&gt; Dimention : &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product_ID, Location &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Expression: &lt;/P&gt;&lt;P&gt;Sum&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AGGR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Product_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Location&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Location_Details&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Output:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="294"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Product_ID&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none;" width="98"&gt;Location&lt;/TD&gt;&lt;TD class="xl65" width="98"&gt;Count&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: medium none;"&gt;110&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;Italy&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: medium none;"&gt;110&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;Spain&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: medium none;"&gt;110&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;United Kingdom&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: medium none;"&gt;154&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;Poland&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: medium none;"&gt;178&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;Spain&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sarvjeet &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 12:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-expression/m-p/651700#M1086412</guid>
      <dc:creator>sarvjeet</dc:creator>
      <dc:date>2014-06-10T12:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-expression/m-p/651701#M1086413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think u updated the source table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;resut for new source is :&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="294"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;Product_ID&lt;/TD&gt;&lt;TD class="xl64" style="border-left: medium none;" width="98"&gt;Location&lt;/TD&gt;&lt;TD class="xl65" width="98"&gt;Count&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: medium none;"&gt;110&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;Italy&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: medium none;"&gt;110&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;Spain&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: medium none;"&gt;110&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;United Kingdom&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: medium none;"&gt;154&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;Poland&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl66" height="17" style="border-top: medium none;"&gt;178&lt;/TD&gt;&lt;TD class="xl67" style="border-left: medium none; border-top: medium none;"&gt;Spain&lt;/TD&gt;&lt;TD class="xl65" style="border-left: medium none; border-top: medium none;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 13:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-expression/m-p/651701#M1086413</guid>
      <dc:creator>sarvjeet</dc:creator>
      <dc:date>2014-06-10T13:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-expression/m-p/651702#M1086414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is very close to the correct answer but I have to filter this result table in that way that i won't have product_id which according to my conditions (1. and 2. mentioned above) is not divded into parts. So i'll have just 3 first rows from your table (without 154, 178) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 13:18:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-expression/m-p/651702#M1086414</guid>
      <dc:creator />
      <dc:date>2014-06-10T13:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-expression/m-p/651703#M1086415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WorkAround &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- use straight table&lt;/P&gt;&lt;P&gt;- Configure dimention limit as shown is snapshot attached&lt;IMG alt="results.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/60375_results.png" style="width: 620px; height: 303px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 13:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-expression/m-p/651703#M1086415</guid>
      <dc:creator>sarvjeet</dc:creator>
      <dc:date>2014-06-10T13:38:19Z</dc:date>
    </item>
  </channel>
</rss>

