<?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: Logic Help in opportunity caliculaton? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393404#M803408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;We can not use this provided expression because, need to calculate &lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;Total GWP of Opportunity in the respective column and not the GWP .PFB &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;Total GWP of Opportunity &lt;/SPAN&gt;= The Total GWP which the market has not had any participation in.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;Ganesh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2017 07:27:26 GMT</pubDate>
    <dc:creator>ganeshreddy</dc:creator>
    <dc:date>2017-11-15T07:27:26Z</dc:date>
    <item>
      <title>Logic Help in opportunity caliculaton?</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393399#M803403</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;&lt;/P&gt;&lt;P&gt;I have two sheets in attached QVW, In the first sheet view/report all metrics are giving us the correct results, where as in second sheet/ report the highlighted Total GWP of opportunity and current participation values are incorrect due to used expressions, PFB used expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TransType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'T'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MarketName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;substringcount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;POLICYMARKET&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, '$(vSelectedMarket)')=0, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[GrossWrittenPremium_GBP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;According to requirement in the place of used variable 'vSelectedMarket' we need to pass respective dimension value for each row in the report, and I am unable to pass that respective dimension value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any one suggest me the correct expressions or help me to create logic in script level?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393399#M803403</guid>
      <dc:creator>ganeshreddy</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help in opportunity caliculaton?</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393400#M803404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A smaller sample would attract more replies I guess.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 05:12:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393400#M803404</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-11-15T05:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help in opportunity caliculaton?</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393401#M803405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you put the dimension expression directly in the expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;TransType={'T'}, MarketName=&amp;gt;} if(substringcount(POLICYMARKET, &lt;STRONG&gt;right(BusinessType,4)&lt;/STRONG&gt;)=0, [GrossWrittenPremium_GBP], 0))&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 05:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393401#M803405</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-11-15T05:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help in opportunity caliculaton?</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393402#M803406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA the smaller sample, The first report in shhet1 is working fine and providing the correct results, the actual problem is in sheet2 report where we have market name as dimension and here the provided expression is not working and giving us Total GWP value as zero. PFB and suggest me to achieve the required output..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="New Bitmap Image.bmp" class="jive-image image-1" src="/legacyfs/online/183302_New Bitmap Image.bmp" style="width: 620px; height: 348px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 07:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393402#M803406</guid>
      <dc:creator>ganeshreddy</dc:creator>
      <dc:date>2017-11-15T07:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help in opportunity caliculaton?</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393403#M803407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the following expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;if($(vShowColumn) = 0, 0,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sum({&amp;lt;TransType={'T'},MarketName=&amp;gt;} [GrossWrittenPremium_GBP])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 07:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393403#M803407</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-11-15T07:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help in opportunity caliculaton?</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393404#M803408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;We can not use this provided expression because, need to calculate &lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;Total GWP of Opportunity in the respective column and not the GWP .PFB &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;Total GWP of Opportunity &lt;/SPAN&gt;= The Total GWP which the market has not had any participation in.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;Ganesh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 07:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393404#M803408</guid>
      <dc:creator>ganeshreddy</dc:creator>
      <dc:date>2017-11-15T07:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help in opportunity caliculaton?</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393405#M803409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you share expected output numbers (at least for few rows)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 07:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help-in-opportunity-caliculaton/m-p/1393405#M803409</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-11-15T07:29:49Z</dc:date>
    </item>
  </channel>
</rss>

