<?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: Set Analysis Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/763225#M271336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Cassandra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that the problem is because you are forcing the formula to be evaluated over the [APPROVE_COMP]= {'Y'} values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is, this SET ANALISYS is ignoring any selections on the field "[APPROVE_COMP]"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;12350.0% sould be the result of the operation, without doubt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to see what is the percentage of this operation, remove the Set Analysis and make filters, by this way you can see the % of Y and N respectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final question, are you using this formula on a text box?... because one chart should be equal to Null()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Dec 2014 23:17:11 GMT</pubDate>
    <dc:creator>julian_rodriguez</dc:creator>
    <dc:date>2014-12-18T23:17:11Z</dc:date>
    <item>
      <title>Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/763224#M271335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having trouble getting my set analysis syntax to work to timesheet approval compliance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the app, the user sees an Approval Compliance metric that should update depending on selections. I would think this would be an easy caluclation but it is obviously not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[APPROVE_COMP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {'Y'}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TIMESHEET_LINE_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TIMESHEET_LINE_ID&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)), '##.0%')&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the filters in a list box that a user can select is Approve Compliance Y or N. You would expect that if the user selects Approve Compliance N that the Approval Compliance % would be 0%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, for some strange reason, selecting N on Approval Compliance is giving me an outrageous % (12350.0%).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any insight?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Cassandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 22:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/763224#M271335</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2014-12-18T22:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/763225#M271336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Cassandra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that the problem is because you are forcing the formula to be evaluated over the [APPROVE_COMP]= {'Y'} values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is, this SET ANALISYS is ignoring any selections on the field "[APPROVE_COMP]"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;12350.0% sould be the result of the operation, without doubt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to see what is the percentage of this operation, remove the Set Analysis and make filters, by this way you can see the % of Y and N respectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final question, are you using this formula on a text box?... because one chart should be equal to Null()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 23:17:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/763225#M271336</guid>
      <dc:creator>julian_rodriguez</dc:creator>
      <dc:date>2014-12-18T23:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Question</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/763226#M271337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Julian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two metrics in text boxes to always display the Submission Compliance % and the Approval Compliance %.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have a filter to allow the user to select Submit Y/N and/or Approve Y/N so I'm not sure what you mean by removing the set analysis to use the filter. How else would I be able to calculate timesheet lines that are compliant / the total # of timesheet lines without using set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Cassandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 14:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Question/m-p/763226#M271337</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2014-12-19T14:53:40Z</dc:date>
    </item>
  </channel>
</rss>

