<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675495#M1080991</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The branching looks ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jun 2014 08:41:30 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-06-30T08:41:30Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675490#M1080986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt; line-height: 1.5em;"&gt;Hi friends,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt; line-height: 1.5em;"&gt;i need to get Earned Premium of year wise.my requirement is &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt; line-height: 1.5em;"&gt;IF(TP_POL_TO_DT&amp;gt;vCurrentYear)=&lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 12px;"&gt;(sum((TP_PREM_LC_1-TP_DISC_LC_1)+(TP_LOAD_LC_1)-(TP_BRK_COMM_LC_1-TP_INW_COMM_LC_1))&lt;SPAN style="color: #008000; font-family: 'Courier New'; font-size: 12px;"&gt;/(TP_POL_TO_DT-TP_POL_FM_DT))*(vCurrentYear-TP_POL_FM_DT))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt;&lt;SPAN style="line-height: 1.5em; color: #008000; font-size: 12px; font-family: 'Courier New';"&gt;else&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt; line-height: 1.5em;"&gt;Earned Premium=Premium.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt; line-height: 1.5em;"&gt;Please convert the above expression to set analysis.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt; line-height: 1.5em;"&gt;Please check my expression is there any wrong in this applying set analysis because i'm not getting any data.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt; line-height: 1.5em;"&gt;=sum({$&amp;lt;year={"TP_POL_TO_DT&amp;gt;vCurrentYear"}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt; line-height: 1.5em;"&gt;(sum((TP_PREM_LC_1-TP_DISC_LC_1)+(TP_LOAD_LC_1)-(TP_BRK_COMM_LC_1-TP_INW_COMM_LC_1))&lt;/SPAN&gt;&lt;SPAN style="color: green; font-family: 'Courier New'; font-size: 9pt; line-height: 1.5em;"&gt; /(TP_POL_TO_DT-TP_POL_FM_DT))*(vCurrentYear-TP_POL_FM_DT))&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_POL_TO_DT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vCurrentYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;),(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_PREM_LC_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_DISC_LC_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)+(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_LOAD_LC_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)-(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_BRK_COMM_LC_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_INW_COMM_LC_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)) /(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_POL_TO_DT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_POL_FM_DT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;))*(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vCurrentYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_POL_FM_DT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;))&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;Krishna&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jun 2014 10:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675490#M1080986</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2014-06-29T10:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675491#M1080987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;year={"TP_POL_TO_DT&amp;gt;$(vCurrentYear)"}&amp;gt;}((TP_PREM_LC_1-TP_DISC_LC_1)+(TP_LOAD_LC_1)-(TP_BRK_COMM_LC_1-TP_INW_COMM_LC_1))/(TP_POL_TO_DT-TP_POL_FM_DT))*(vCurrentYear-TP_POL_FM_DT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 08:00:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675491#M1080987</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-30T08:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675492#M1080988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.If i want to give else condition in set analysis,how can i mention?&lt;/P&gt;&lt;P&gt;i have calculated like this.&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_POL_TO_DT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vCurrentYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;,(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_PREM_LC_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_DISC_LC_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)+(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_LOAD_LC_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_BRK_COMM_LC_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_INW_COMM_LC_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)))/&lt;BR /&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_POL_TO_DT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_POL_FM_DT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)*(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9pt; font-family: 'Courier New';"&gt;vCurrentYear&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_POL_FM_DT&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_PREM_LC_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_DISC_LC_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;)+&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: maroon;"&gt;TP_LOAD_LC_1&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: 'Courier New'; color: black;"&gt;))&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt; Regards&lt;/P&gt;&lt;P class="ecxMsoNormal" style="margin-bottom: 1.35em; font-size: 15px; font-family: Calibri, sans-serif; color: #444444;"&gt;krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 08:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675492#M1080988</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2014-06-30T08:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675493#M1080989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot do branching logic in set analysis. An else condition is not possible. If you need that then you need to use and if-else statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 08:24:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675493#M1080989</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-30T08:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675494#M1080990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is my above expression is correct?branching of expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 08:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675494#M1080990</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2014-06-30T08:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675495#M1080991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The branching looks ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 08:41:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675495#M1080991</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-30T08:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675496#M1080992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You..How can we assign '%' to the particular row?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 08:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/675496#M1080992</guid>
      <dc:creator>krishna20</dc:creator>
      <dc:date>2014-06-30T08:45:06Z</dc:date>
    </item>
  </channel>
</rss>

