<?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 Set analysis with IF statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-IF-statement/m-p/661389#M241083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am creating drill down reports, there are three level of reports, when the user select the paticular metrics(Count of ID) in the first report, he will able to see the next level details associated with those selected IDs. so&amp;nbsp; i have used Inline table(field Name Metricslable) to link to different metrics shown in the first report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used a expression like this:&lt;/P&gt;&lt;P&gt;if(Metricslable='metric1',count({&amp;lt;Dim1={'aa'},year=,month=,ID=&amp;gt;}ID),&lt;/P&gt;&lt;P&gt;if(Metricslable=''metric2',count({&amp;lt;Dim1={bb},year=,month=,ID=&amp;gt;}ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want&amp;nbsp; to exclude the some filter selection, Year and month filter exclusion is working fine, but my ID slection is not workinfg fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Sep 2014 11:27:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-22T11:27:55Z</dc:date>
    <item>
      <title>Set analysis with IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-IF-statement/m-p/661389#M241083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am creating drill down reports, there are three level of reports, when the user select the paticular metrics(Count of ID) in the first report, he will able to see the next level details associated with those selected IDs. so&amp;nbsp; i have used Inline table(field Name Metricslable) to link to different metrics shown in the first report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used a expression like this:&lt;/P&gt;&lt;P&gt;if(Metricslable='metric1',count({&amp;lt;Dim1={'aa'},year=,month=,ID=&amp;gt;}ID),&lt;/P&gt;&lt;P&gt;if(Metricslable=''metric2',count({&amp;lt;Dim1={bb},year=,month=,ID=&amp;gt;}ID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want&amp;nbsp; to exclude the some filter selection, Year and month filter exclusion is working fine, but my ID slection is not workinfg fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 11:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-IF-statement/m-p/661389#M241083</guid>
      <dc:creator />
      <dc:date>2014-09-22T11:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-IF-statement/m-p/661390#M241084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 11:32:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-IF-statement/m-p/661390#M241084</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-22T11:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-IF-statement/m-p/661391#M241085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sampath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post your app and the exact requirement &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 11:36:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-IF-statement/m-p/661391#M241085</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-09-22T11:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-IF-statement/m-p/661392#M241086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&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({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Metricslable={'metric1'&lt;/SPAN&gt;}, Dim1={'aa'},year=,month=,ID=&amp;gt; + &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Metricslable={'metric2'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;}, Dim1={'bb'},year=,month=,ID=&amp;gt;&lt;/SPAN&gt;} ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 11:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-IF-statement/m-p/661392#M241086</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-09-22T11:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-IF-statement/m-p/661393#M241087</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;When you nullify ID field in your set analysis then it will give you wrong output.&lt;/P&gt;&lt;P&gt;Change your expression to&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({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Metricslable={'metric1'&lt;/SPAN&gt;}, Dim1={'aa'},year=,month=&amp;gt;}ID) &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&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Metricslable={'metric2'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;}, Dim1={'bb'},year=,month=&amp;gt;&lt;/SPAN&gt;} ID)&lt;/SPAN&gt;&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;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 11:43:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-IF-statement/m-p/661393#M241087</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-09-22T11:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with IF statement</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-IF-statement/m-p/661394#M241088</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;Are you trying to create drill-down/rollup functionality? Something like Year | Month | Date - so that the chart displays Year by default; if you select a year it shows the data by months in the selected year; and if you select a month, it shows data by Date in that month?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If so, rather use QV built in functionality using drill groups rather than building complex logic, and use the drill group as the dimension in the chart.&amp;nbsp; Check out groups and drill groups in the manual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Your solution would look something like this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Eg drill group grYMD - year, month, date&lt;/P&gt;&lt;P&gt;Use grYMD as the dimension, and something like Count(ID) as the expression&lt;/P&gt;&lt;P&gt;(Adapt to your specific requirements)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2014 12:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-IF-statement/m-p/661394#M241088</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-09-22T12:17:38Z</dc:date>
    </item>
  </channel>
</rss>

