<?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: Need help to write an expression ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-help-to-write-an-expression/m-p/10835#M790480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;plz try this in calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&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: #800000; font-size: 8pt;"&gt;[No. of Policy Users Sold]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= 0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Open Users]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[No. of Policy Users Sold]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0),Delearship) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jan 2018 09:52:59 GMT</pubDate>
    <dc:creator>shiveshsingh</dc:creator>
    <dc:date>2018-01-29T09:52:59Z</dc:date>
    <item>
      <title>Need help to write an expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-to-write-an-expression/m-p/10833#M790478</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;Please kindly see the image attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="191655" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/191655_Capture.PNG" style="width: 620px; height: 143px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Non User calculation is done in second chart -&lt;/P&gt;&lt;P&gt;if([No. of Policy Users Sold]= 0,[Open Users]-[No. of Policy Users Sold],0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so , if no policy sold then non user is [open user] - [no.of policy sold]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the second chart is working correctly as there is dimension Dealership in the chart .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But , for the first chart ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is no dealership dimension . Thus the Non user is not working correctly .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I used the expression -&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial,helvetica,sans-serif; font-size: 13.33px; font-style: normal; font-weight: 400; text-align: left; text-indent: 0px;"&gt; if([No. of Policy Users Sold]= 0,[Open Users]-[No. of Policy Users Sold],0) the result is showing 0 as there are not breaks down in dealership dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist me in writing the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&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/Need-help-to-write-an-expression/m-p/10833#M790478</guid>
      <dc:creator>ashmitp869</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to write an expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-to-write-an-expression/m-p/10834#M790479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( Aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;if([No. of Policy Users Sold]= 0,[Open Users]-[No. of Policy Users Sold],0),Delearship))&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: 13px;"&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: 13px;"&gt;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: 13px;"&gt;Kaushik Solanki&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 09:25:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-to-write-an-expression/m-p/10834#M790479</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2018-01-29T09:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help to write an expression ?</title>
      <link>https://community.qlik.com/t5/QlikView/Need-help-to-write-an-expression/m-p/10835#M790480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;plz try this in calculated dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&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: #800000; font-size: 8pt;"&gt;[No. of Policy Users Sold]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= 0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Open Users]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[No. of Policy Users Sold]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0),Delearship) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 09:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-help-to-write-an-expression/m-p/10835#M790480</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-01-29T09:52:59Z</dc:date>
    </item>
  </channel>
</rss>

