<?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 Problem using concat() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-using-concat/m-p/204703#M61495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should try to solve this in the script as loading the data.&lt;/P&gt;&lt;P&gt;You can create a dimension concatenating all warehouses that delivers the same order in the same row. This will keep all possible combinations of warehouse and can be used in any chart.&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD DISTINCT&lt;BR /&gt; ORDER_ID,&lt;BR /&gt; IF(&lt;BR /&gt; ORDER_ID=PREVIOUS(ORDER_ID),&lt;BR /&gt; PEEK("WAREHOUSE_GROUP_ID") &amp;amp; ' and ' &amp;amp; WHAREHOUSE_NAME,&lt;BR /&gt; WHAREHOUSE_NAME&lt;BR /&gt; ) as WAREHOUSE_GROUP&lt;BR /&gt;RESIDENT ORDERS&lt;BR /&gt;ORDER BY ORDER_ID&lt;BR /&gt;;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Then try to find a way to filter the last row for each Order.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jun 2010 15:25:00 GMT</pubDate>
    <dc:creator>fernandotoledo</dc:creator>
    <dc:date>2010-06-28T15:25:00Z</dc:date>
    <item>
      <title>Problem using concat()</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-concat/m-p/204702#M61494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to get an overview of how our orders are looking when they are being delivered from more than one warehouse.&lt;/P&gt;&lt;P&gt;I have created a bar chart that uses the following settings:&lt;/P&gt;&lt;P&gt;Dimension= Concat(DISTINCT Warehouse_Id,';')&lt;/P&gt;&lt;P&gt;Expression= Count (DISTINCT Order_Number)&lt;/P&gt;&lt;P&gt;My problem is that when I look at my chart I only get one bar that contain all variants of my dimension.&lt;/P&gt;&lt;P&gt;How can I make QV understand that I want one bar per combination of warehouse_id?&lt;/P&gt;&lt;P&gt;The result should look someting like this:&lt;BR /&gt;Warehouse 1 and 2 = 15%&lt;BR /&gt;Warehouse 1 and 3 = 25%&lt;BR /&gt;Warehouse 2 and 3 = 60%&lt;/P&gt;&lt;P&gt;br&lt;BR /&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 13:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-concat/m-p/204702#M61494</guid>
      <dc:creator />
      <dc:date>2010-06-28T13:43:01Z</dc:date>
    </item>
    <item>
      <title>Problem using concat()</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-using-concat/m-p/204703#M61495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should try to solve this in the script as loading the data.&lt;/P&gt;&lt;P&gt;You can create a dimension concatenating all warehouses that delivers the same order in the same row. This will keep all possible combinations of warehouse and can be used in any chart.&lt;/P&gt;&lt;P&gt;Something like:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;LOAD DISTINCT&lt;BR /&gt; ORDER_ID,&lt;BR /&gt; IF(&lt;BR /&gt; ORDER_ID=PREVIOUS(ORDER_ID),&lt;BR /&gt; PEEK("WAREHOUSE_GROUP_ID") &amp;amp; ' and ' &amp;amp; WHAREHOUSE_NAME,&lt;BR /&gt; WHAREHOUSE_NAME&lt;BR /&gt; ) as WAREHOUSE_GROUP&lt;BR /&gt;RESIDENT ORDERS&lt;BR /&gt;ORDER BY ORDER_ID&lt;BR /&gt;;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Then try to find a way to filter the last row for each Order.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 15:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-using-concat/m-p/204703#M61495</guid>
      <dc:creator>fernandotoledo</dc:creator>
      <dc:date>2010-06-28T15:25:00Z</dc:date>
    </item>
  </channel>
</rss>

