<?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: Filtering records based on created dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994901#M338683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102244_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 14:48:01 GMT</pubDate>
    <dc:creator>Qrishna</dc:creator>
    <dc:date>2015-10-16T14:48:01Z</dc:date>
    <item>
      <title>Filtering records based on created dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994900#M338682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;New dimension Freight 'TYPE' has been created based on the number of distinct Customer Groups on&lt;BR /&gt;Section Type 'OUT'. And it works just fine. However some freights have only section 'BH' like freight #5 in the attached&lt;BR /&gt;model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to classify such freights under following TYPE : 'Not_from_DC'&amp;nbsp; and be able to select also those.&lt;/P&gt;&lt;P&gt;Anyone knows knows how to solve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 09:25:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994900#M338682</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-16T09:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering records based on created dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994901#M338683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102244_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 14:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994901#M338683</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-10-16T14:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering records based on created dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994902#M338684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102260_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See my calculated condition &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 15:05:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994902#M338684</guid>
      <dc:creator>miguelbraga</dc:creator>
      <dc:date>2015-10-16T15:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering records based on created dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994903#M338685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wrong answer, if you click on No_from_DC it does not do anything, &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;, But if you click on mixed'' then it selects only mixed freights , the same with dedicated- that part has been done&lt;/P&gt;&lt;P&gt;This is not an easy question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 17:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994903#M338685</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-16T17:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering records based on created dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994904#M338686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, but try to click on Not_from_DC and when you see only the record&amp;nbsp; Freight#5 then it is probably a good solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 18:01:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994904#M338686</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-16T18:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering records based on created dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994905#M338687</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;Please check the attached one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 18:24:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994905#M338687</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2015-10-16T18:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering records based on created dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994906#M338688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102267_Capture.PNG" style="height: 192px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 18:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994906#M338688</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2015-10-16T18:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering records based on created dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994907#M338689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand you want to group the not OUT records under &lt;STRONG style="font-size: 13.3333px;"&gt;Not_from_DC&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Change to your script in bold&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;datld:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load * Inline [&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Freight#,SectionType,CustomerGroup,COST&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1,OUT,A,50&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1,OUT,B,100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1,BH,X,150&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2,OUT,A,100&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2,BH,Z,100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;3,OUT,A,100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;3,BH,B,200&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;4,OUT,B,300&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;4,OUT,A,100&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;5,BH,S,50&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;];&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;nwtb:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; count( distinct(CustomerGroup)) as GroupCnt,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Freight#, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SectionType&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident datld &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;//Where SectionType='OUT' &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Group by Freight#,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SectionType;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Left Join(datld)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;load &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; if(SectionType='OUT', &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; if(GroupCnt&amp;gt;1,'Mixed','Dedicated'),&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp; 'Not_from_DC'&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; ) as Type, &lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Freight# &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident nwtb;&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 18:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994907#M338689</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-10-16T18:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering records based on created dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994908#M338690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna.&lt;/P&gt;&lt;P&gt;Your solution is also good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 13:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994908#M338690</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-19T13:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering records based on created dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994909#M338691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Celembarasan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But , what would be a solution in&amp;nbsp; cases when there is a section OUT, but the cost = 0 or cost is empty&lt;/P&gt;&lt;P&gt;Such freights I would like to classify as 'not_from_dc' as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 10:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-records-based-on-created-dimension/m-p/994909#M338691</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-23T10:29:05Z</dc:date>
    </item>
  </channel>
</rss>

