<?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: Aggregation in Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-in-Dimension/m-p/511501#M1135773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what I want is to get only the CASE_IDs selected which are within one group, by selection a unique bar. I do not want to get the STEPs selected. The Step Table is only to "mark" a CASE_ID and bind it to a group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 12:05:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-23T12:05:27Z</dc:date>
    <item>
      <title>Aggregation in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-in-Dimension/m-p/511499#M1135771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an CASE_ID which identifies a specific case and some steps, which are made within this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STEP:&lt;/P&gt;&lt;P&gt;CASE_ID, FLAG A, STEP_ID&lt;/P&gt;&lt;P&gt;123, A,1&lt;/P&gt;&lt;P&gt;123, B,1&lt;/P&gt;&lt;P&gt;123, A,2&lt;/P&gt;&lt;P&gt;123, C,1&lt;/P&gt;&lt;P&gt;456, A,1&lt;/P&gt;&lt;P&gt;456, A,2&lt;/P&gt;&lt;P&gt;456, B,1&lt;/P&gt;&lt;P&gt;456, A,4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one Dimension Field "D1". In Skript I do like:&lt;/P&gt;&lt;P&gt;STEP:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;CASE_ID,&lt;/P&gt;&lt;P&gt;if(FLAG='A', "Group1") AS D1&lt;/P&gt;&lt;P&gt;From STEP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate(STEP)&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;CASE_ID,&lt;/P&gt;&lt;P&gt;if(FLAG='B', "Group2") AS D1&lt;/P&gt;&lt;P&gt;From STEP;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to display a Bar-Chart with D1 as Dimension and "distinct count(CASE_ID)" as expression.&lt;/P&gt;&lt;P&gt;When somebody selects one Bar of the Chart, I want the CASE_ID to be selected.&lt;/P&gt;&lt;P&gt;So i did "aggr(D1, CASE_ID)" as dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that if a CASE_ID belongs to more than one flag, it will be thrown out and not included in calculation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me if it is the right way to handle this?&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, 23 Oct 2013 11:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-in-Dimension/m-p/511499#M1135771</guid>
      <dc:creator />
      <dc:date>2013-10-23T11:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-in-Dimension/m-p/511500#M1135772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a hierarchic group to make a drill down from the group "D1" to the CASE_ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think this .qvw will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yoann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 11:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-in-Dimension/m-p/511500#M1135772</guid>
      <dc:creator>yduval75</dc:creator>
      <dc:date>2013-10-23T11:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation in Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-in-Dimension/m-p/511501#M1135773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what I want is to get only the CASE_IDs selected which are within one group, by selection a unique bar. I do not want to get the STEPs selected. The Step Table is only to "mark" a CASE_ID and bind it to a group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 12:05:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-in-Dimension/m-p/511501#M1135773</guid>
      <dc:creator />
      <dc:date>2013-10-23T12:05:27Z</dc:date>
    </item>
  </channel>
</rss>

