<?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: Filter records from the Dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063300#M930344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi Nathan,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You can try expression as,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Only({&amp;lt;Provider-={'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ONX&lt;/SPAN&gt;'}&amp;gt;}Provider) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Or&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If(&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;Provider &amp;lt;&amp;gt;&amp;nbsp; 'ONX', Provider)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Mar 2016 08:15:28 GMT</pubDate>
    <dc:creator>tamilarasu</dc:creator>
    <dc:date>2016-03-14T08:15:28Z</dc:date>
    <item>
      <title>Filter records from the Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063298#M930342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I imported data from .csv. I selected Charts and selected Table and dropped to the chart. I then dragged provider from Fields to the sheet. I was able to see the Provider. I added Tot Claim Amt, Tot Paid Amt measures as well. Now I wanted to filter certain providers. How do i do that. If it was SQL, I can say where Provider &amp;lt;&amp;gt; "ONX Inc" then select all the records. Here how do I it using the 'Expression'. I wanted to filter here at the Dimension level. Is my approach right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063298#M930342</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filter records from the Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063299#M930343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nathan, I'm not entirely sure what you want exactly but as far as I know the most efficient way would be to add that filter in the expression, rather than the dimension, as set analysis something like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= SUM({&amp;lt;Provider &amp;lt;&amp;gt; 'ONX Inc'&amp;gt; Claim Amt}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 08:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063299#M930343</guid>
      <dc:creator>desere_k</dc:creator>
      <dc:date>2016-03-14T08:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Filter records from the Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063300#M930344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi Nathan,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You can try expression as,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Only({&amp;lt;Provider-={'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ONX&lt;/SPAN&gt;'}&amp;gt;}Provider) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Or&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If(&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM&gt;Provider &amp;lt;&amp;gt;&amp;nbsp; 'ONX', Provider)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 08:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063300#M930344</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-03-14T08:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Filter records from the Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063301#M930345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try like this &lt;/P&gt;&lt;P&gt;//in dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (dimension_name&amp;lt;&amp;gt;'&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ONX Inc&lt;/SPAN&gt;' ,&lt;SPAN style="font-size: 13.3333px;"&gt;dimension_name&lt;/SPAN&gt;) and check the suppress null &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 08:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063301#M930345</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-14T08:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filter records from the Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063302#M930346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In front end object, create the calculated field as&lt;/P&gt;&lt;P&gt;aggr(if( not match(lower(trim(&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Provider)),'onx'),&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Provider),&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Provider)&lt;/EM&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can also use set analysis in expression.&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Provider -= {'ONX'}&amp;gt;}Values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another better approach is to create the Flag in script&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;if( not match(lower(trim(&lt;/SPAN&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Provider)),'onx'),&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;1) as ProviderFlag&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now Your set analysis will become easy with below expression&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;&lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ProviderFlag &lt;/EM&gt;= {'1'}&amp;gt;}Values)&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 08:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063302#M930346</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-03-14T08:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Filter records from the Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063303#M930347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nathan,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;use set analysis or if else statement. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;sum({$&amp;lt;Provider ={'*'} - {'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ONX Inc&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;'}&amp;gt;} Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13px; line-height: 1.5em;"&gt;OR at the script level you can &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; line-height: 19.5px;"&gt;import only those record where provider &amp;lt;&amp;gt;'ONX INC'&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; line-height: 1.5em;"&gt; .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;WHERE(provider &amp;lt;&amp;gt; 'ONX INC');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Refer Below Code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T2:&lt;/P&gt;&lt;P&gt;LOAD AA, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BB, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CV, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CD, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GH, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Items, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Used, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; New&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;WHERE(CV &amp;lt;&amp;gt; 'List 1');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 11:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063303#M930347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-14T11:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filter records from the Dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063304#M930348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to everyone. Lot of examples. You guys are awesome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 20:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-records-from-the-Dimension/m-p/1063304#M930348</guid>
      <dc:creator />
      <dc:date>2016-03-14T20:36:12Z</dc:date>
    </item>
  </channel>
</rss>

