<?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/947122#M647085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi Josephine,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Something like below,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If(Classification = 'Clinical' or Classification &amp;lt;&amp;gt; 'Clinical' ,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt;WeekNum = p(WeekNum), Date_Fin_Month = &amp;gt;}DurMins) / Sum({$&amp;lt;WeekNum = p(WeekNum), &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date_Fin_Month =&amp;gt;}AvailMins))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Nov 2015 02:16:43 GMT</pubDate>
    <dc:creator>tamilarasu</dc:creator>
    <dc:date>2015-11-20T02:16:43Z</dc:date>
    <item>
      <title>set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947121#M647084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi all this works&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; - as Classification = Clinical - will not change no matter what Classification is chosen by the user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-size: 12pt;"&gt;(Sum({$&amp;lt;Classification={'Clinical'}&amp;gt;}DurMins))/Sum({1}AvailMins) &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;This expression is better because if the week has 2 months - it will still calculate correctly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;if&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;(&lt;SPAN style="color: #800000;"&gt;Classification&lt;/SPAN&gt; = 'Clinical',((&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;WeekNum&lt;/SPAN&gt; = &lt;SPAN style="color: #0000ff;"&gt;p&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;WeekNum&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;Date_Fin_Month&lt;/SPAN&gt; = &amp;gt;}&lt;SPAN style="color: #800000;"&gt;DurMins&lt;/SPAN&gt;))/(&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;WeekNum&lt;/SPAN&gt; = &lt;SPAN style="color: #0000ff;"&gt;p&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;WeekNum&lt;/SPAN&gt;), &lt;SPAN style="color: #800000;"&gt;Date_Fin_Month&lt;/SPAN&gt; = &amp;gt;}&lt;SPAN style="color: #800000;"&gt;AvailMins&lt;/SPAN&gt;)))) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;However, a user needs to make a selection of Clinical.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;I would like to make it that a User did not need to select Classification = Clinical but always stays as Clinical.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;I have tried combining the two expresssions but it is hard and I end up with commas and brackets left over!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;How could I modify the if statement???&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;Jo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 01:44:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947121#M647084</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2015-11-20T01:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947122#M647085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;Hi Josephine,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Something like below,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If(Classification = 'Clinical' or Classification &amp;lt;&amp;gt; 'Clinical' ,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({$&amp;lt;WeekNum = p(WeekNum), Date_Fin_Month = &amp;gt;}DurMins) / Sum({$&amp;lt;WeekNum = p(WeekNum), &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date_Fin_Month =&amp;gt;}AvailMins))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 02:16:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947122#M647085</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-11-20T02:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947123#M647086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tamil.. still need to choose Clinical to be correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 02:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947123#M647086</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2015-11-20T02:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947124#M647087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josephine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a variable like vClassification = if(getselectedcount(classification)=1 and getcurrentselections(classification)&amp;lt;&amp;gt;'Classification: Clinical', only(&lt;SPAN style="font-size: 13.3333px;"&gt;classification), 'Clinical')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and refer the variable in set analysis as below,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Classification&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&gt; = {$(&lt;SPAN style="font-size: 13.3333px;"&gt;vClassification &lt;/SPAN&gt;},((&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;WeekNum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 18.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;WeekNum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Date_Fin_Month&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&gt; = &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;DurMins&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&gt;))/(&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;WeekNum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 18.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;WeekNum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;Date_Fin_Month&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&gt; = &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 18.6667px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;AvailMins&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 18.6667px;"&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; font-size: 18.6667px;"&gt;&lt;BR /&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; font-size: 18.6667px;"&gt;Warm Regards,&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: 18.6667px;"&gt;Karthikeyan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 03:03:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947124#M647087</guid>
      <dc:creator>karthikeyan1504</dc:creator>
      <dc:date>2015-11-20T03:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947125#M647088</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;try after including Classification='Clinical' in your set analysis.&lt;/P&gt;&lt;P&gt;You dont required if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;((sum({$&amp;lt;WeekNum = p(WeekNum),&lt;STRONG&gt;Classification={'Clinical'},&lt;/STRONG&gt; Date_Fin_Month = &amp;gt;}DurMins))/(sum({$&amp;lt;WeekNum = p(WeekNum), &lt;STRONG&gt;Classification={'Clinical'},&lt;/STRONG&gt;Date_Fin_Month = &amp;gt;}AvailMins)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 03:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947125#M647088</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-11-20T03:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947126#M647089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Max Dreamer - it worked. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so if I try and understand it ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;WeekNum),&lt;STRONG&gt;Classification={'Clinical'},&lt;/STRONG&gt; Month= &amp;gt;}DurMins))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;(sum({$&amp;lt;WeekNum), &lt;STRONG&gt;Classification={'Clinical'},Month&lt;/STRONG&gt; = &amp;gt;}AvailMins))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 04:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947126#M647089</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2015-11-20T04:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis question</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947127#M647090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome &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, 20 Nov 2015 04:11:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-question/m-p/947127#M647090</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-11-20T04:11:59Z</dc:date>
    </item>
  </channel>
</rss>

