<?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: Re: set analysis: use complete dataset and 1 selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679652#M246464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added a sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jul 2014 09:15:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-30T09:15:42Z</dc:date>
    <item>
      <title>set analysis: use complete dataset and 1 selection</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679644#M246456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to disregard all selections for this expression, except the city_id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression calculates the percentage of the population that has called the infocenter.&lt;/P&gt;&lt;P&gt;But the total population always has to be the total population, except when you select a city.&lt;/P&gt;&lt;P&gt;Then it has to be the total population of that city, not considering all the other selections that are made.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I have, just disregarding all the selections:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(DISTINCT inforequest_id)/count(total DISTINCT{1} inhabitant_id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I add that the city_id has to be the selected city_id?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope someone can help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Katleen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 07:49:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679644#M246456</guid>
      <dc:creator />
      <dc:date>2014-07-30T07:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: use complete dataset and 1 selection</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679645#M246457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Something like below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count(DISTINCT inforequest_id)/If(GetSelectedCount(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;city_id&lt;/SPAN&gt;)&amp;gt;0,&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count(total DISTINCT inhabitant_id)&lt;/SPAN&gt;, count(total DISTINCT{1} inhabitant_id))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 07:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679645#M246457</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-30T07:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: use complete dataset and 1 selection</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679646#M246458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;aggr((count(DISTINCT inforequest_id)/count(total DISTINCT{1} inhabitant_id)),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;city_id&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 07:54:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679646#M246458</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-07-30T07:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: use complete dataset and 1 selection</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679647#M246459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like it works, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 08:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679647#M246459</guid>
      <dc:creator />
      <dc:date>2014-07-30T08:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: use complete dataset and 1 selection</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679648#M246460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue that I have now is that when I select a month/quarter/.. the percentage goes over 100%&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 08:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679648#M246460</guid>
      <dc:creator />
      <dc:date>2014-07-30T08:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: use complete dataset and 1 selection</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679649#M246461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you want month/quarter/.. selection to be ignored after city_id selection? If so, you may have to ignore them individually. Something like below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count(DISTINCT inforequest_id)/count({$&amp;lt;month=, quarter=, ....&amp;gt;} DISTINCT &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;total &lt;/SPAN&gt;inhabitant_id)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 08:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679649#M246461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-30T08:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: use complete dataset and 1 selection</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679650#M246462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The original question is solved.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The issue that I have now is that when I select a month/quarter/.. the percentage goes over 100%&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 08:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679650#M246462</guid>
      <dc:creator />
      <dc:date>2014-07-30T08:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: use complete dataset and 1 selection</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679651#M246463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you think you can provide your qvw with scrambled data. Without seeing application, it is difficult to understand the type of issue and give you correct resolution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 08:43:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679651#M246463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-30T08:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re: set analysis: use complete dataset and 1 selection</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679652#M246464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added a sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 09:15:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679652#M246464</guid>
      <dc:creator />
      <dc:date>2014-07-30T09:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis: use complete dataset and 1 selection</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679653#M246465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Logic seems to be okay. I have selected project MIWA and Quarter Q1 and found inforequest_id=188 and NULL inhabitant_unit=139 which is 135,25%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to ignore quarter and month selection, you may use below expression,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count(DISTINCT inforequest_id)/NullCount(total{&amp;lt;inforequestQuarter=, inforequestMonth=&amp;gt;} inhabitant_until)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="proj.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/63392_proj.JPG.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 10:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679653#M246465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-30T10:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re: set analysis: use complete dataset and 1 selection</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679654#M246466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly what I wanted, t&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;hank you very much!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 10:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-use-complete-dataset-and-1-selection/m-p/679654#M246466</guid>
      <dc:creator />
      <dc:date>2014-07-30T10:16:59Z</dc:date>
    </item>
  </channel>
</rss>

