<?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: Calculated Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373165#M813524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the help everyone!&amp;nbsp; I actually got it all figured out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(count({&amp;lt;[PCI Flag] = {'Yes'}&amp;gt;}[Field ID]) / count({&amp;lt;[PCI Flag] = {'Yes', 'No'}&amp;gt;}[Field ID]), '##.##%')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Sep 2017 16:45:36 GMT</pubDate>
    <dc:creator>shinnickr</dc:creator>
    <dc:date>2017-09-29T16:45:36Z</dc:date>
    <item>
      <title>Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373158#M813517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been looking around but for some reason am having trouble finding the syntax for what I'm looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dimension "PCI Flag" and it can either be flagged "Yes" or "No".&amp;nbsp; I have a doughnut chart just showing the two fields and as "Text in Chart" I would like to have a calculated expression showing the % of "Yes".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="178164" alt="Calculated Expression.PNG" class="jive-image image-1" src="/legacyfs/online/178164_Calculated Expression.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I know this is absolutely terrible syntax, but the calculation I want is something like '=(PCI Flag = Yes) / ((PCI Flag = Yes) + (PCI Flag = No))'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I need to use something more like&amp;nbsp; ( {$&amp;lt;[PCI Flag]={Yes}&amp;gt;} [PCI Flag]) but I am just unsure of the exact syntax that I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&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/Calculated-Expression/m-p/1373158#M813517</guid>
      <dc:creator>shinnickr</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373159#M813518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;[PCI Flag]={'Yes'}&amp;gt;} Amt)/(&lt;SPAN style="font-size: 13.3333px;"&gt;Sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;[PCI Flag]={'Yes'}&amp;gt;} Amt)+&lt;SPAN style="font-size: 13.3333px;"&gt;Sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;[PCI Flag]={'No'}&amp;gt;} Amt))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;[PCI Flag]={'Yes'}&amp;gt;} Amt)/(&lt;SPAN style="font-size: 13.3333px;"&gt;Sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Amt)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Pratyush&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 13:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373159#M813518</guid>
      <dc:creator>prat1507</dc:creator>
      <dc:date>2017-09-29T13:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373160#M813519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you need to provide the % of Yes and not for No&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 13:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373160#M813519</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2017-09-29T13:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373161#M813520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope attached sample will help if you need to show the % of both No &amp;amp; Yes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 13:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373161#M813520</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2017-09-29T13:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373162#M813521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah just the % of yes.&amp;nbsp; So in the picture it's Yes = 222; No = 29.&amp;nbsp; What I want to show is 222/(222+29), which would be 88.45%&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 13:57:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373162#M813521</guid>
      <dc:creator>shinnickr</dc:creator>
      <dc:date>2017-09-29T13:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373163#M813522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then the expressions shared by Pratyush will help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 14:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373163#M813522</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2017-09-29T14:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373164#M813523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dimension &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;[PCI Flag]&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;&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;Expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[PCI Flag]) / &lt;SPAN style="font-size: 13.3333px;"&gt;count(TOTAL &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[PCI Flag])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 14:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373164#M813523</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-09-29T14:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373165#M813524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all the help everyone!&amp;nbsp; I actually got it all figured out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(count({&amp;lt;[PCI Flag] = {'Yes'}&amp;gt;}[Field ID]) / count({&amp;lt;[PCI Flag] = {'Yes', 'No'}&amp;gt;}[Field ID]), '##.##%')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2017 16:45:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Expression/m-p/1373165#M813524</guid>
      <dc:creator>shinnickr</dc:creator>
      <dc:date>2017-09-29T16:45:36Z</dc:date>
    </item>
  </channel>
</rss>

