<?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: Calculations Diagram or Skript in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321413#M615540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain with some sample data???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jul 2017 06:52:47 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2017-07-04T06:52:47Z</dc:date>
    <item>
      <title>Calculations Diagram or Skript</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321411#M615538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i´m relative new to Qlikview but already figured some stuff out.&lt;/P&gt;&lt;P&gt;I have a question regarding calculation in a Skript or Diagram (I probably would prefer the Skript Version).&lt;/P&gt;&lt;P&gt;I got a Field which is called "STATUS" (Fetching it throug a SQL Server with OLE DB) - in that there are the entries: "CAT1", "CAT2, "CAT3", "CAT4", "OC" and "-". The goal is to sum up the numbers of each of them within in the field. At the end I want to be able to make something like that: (Number of strings with (CAT2)) /(Number of strings with(CAT2, CAT3)) for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really would appreciate your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 02:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321411#M615538</guid>
      <dc:creator />
      <dc:date>2017-07-04T02:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations Diagram or Skript</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321412#M615539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It nearly worked out like that, but there is another field "Serial" where I got some duplicates..&lt;/P&gt;&lt;P&gt;Because it's a relative calculation it's only a Problem for the Status "OC". &lt;/P&gt;&lt;P&gt;How can I delete these duplicates? (It's not possible with "DISTINCT" because it's another field..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(MissingCount({$&amp;lt;STATUS={CAT4}&amp;gt;} STATUS)+&lt;/P&gt;&lt;P&gt;MissingCount({$&amp;lt;STATUS={CAT3}&amp;gt;} STATUS)+&lt;/P&gt;&lt;P&gt;MissingCount({$&amp;lt;STATUS={CAT2}&amp;gt;} STATUS))/&lt;/P&gt;&lt;P&gt;(MissingCount({$&amp;lt;STATUS={OC}&amp;gt;} STATUS )+&lt;/P&gt;&lt;P&gt;MissingCount({$&amp;lt;STATUS={CAT4}&amp;gt;} STATUS)+&lt;/P&gt;&lt;P&gt;MissingCount({$&amp;lt;STATUS={CAT3}&amp;gt;} STATUS)+&lt;/P&gt;&lt;P&gt;MissingCount({$&amp;lt;STATUS={CAT2}&amp;gt;} STATUS))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 03:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321412#M615539</guid>
      <dc:creator />
      <dc:date>2017-07-04T03:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations Diagram or Skript</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321413#M615540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain with some sample data???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 06:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321413#M615540</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-07-04T06:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations Diagram or Skript</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321414#M615541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; SERIAL, STATUS, DIV&lt;BR /&gt; 1234, CAT4, BA&lt;BR /&gt; 1234, CAT4, BA&lt;BR /&gt; 1235, CAT2, BB&lt;BR /&gt; 1236, CAT2, BC&lt;BR /&gt; 1237, CAT3, BA&lt;BR /&gt; 1237, CAT3, BA&lt;BR /&gt; 1238, OC, BB&lt;BR /&gt; 1238, OC, BB&lt;BR /&gt; 1238, OC, BB&lt;BR /&gt; 1239, OC, BA&lt;BR /&gt; 1239, OC, BA&lt;BR /&gt; 1240, OC, BC&lt;BR /&gt; 1241, OC, BC&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Equation in the Diagramm:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;=(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MissingCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={CAT4}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MissingCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={CAT3}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MissingCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={CAT2}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;))/&lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MissingCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={OC}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; )+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MissingCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={CAT4}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MissingCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={CAT3}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)+&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MissingCount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={CAT2}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;STATUS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Dimension:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;DIV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;THANKS! Actually i don't really know how to upload the hole data-sheet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I have to look that up.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 07:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321414#M615541</guid>
      <dc:creator />
      <dc:date>2017-07-04T07:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations Diagram or Skript</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321415#M615542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe also possible:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count({$&amp;lt;STATUS={'CAT2','CAT3','CAT4'}&amp;gt;} STATUS)/Count({$&amp;lt;STATUS={'CAT2','CAT3','CAT4','OC'}&amp;gt;} STATUS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 22:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321415#M615542</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-07-04T22:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations Diagram or Skript</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321416#M615543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;thanks for your help! It work's good to simplify the equation, but does not solve the main Problem.&lt;/P&gt;&lt;P&gt;If there is three times the same Serial Number "Count" does Count 3 times, but I want just one count.&lt;/P&gt;&lt;P&gt;In fact the other two entries shall not be countend.&lt;/P&gt;&lt;P&gt;Hope that helps to explain my Problem.&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 23:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321416#M615543</guid>
      <dc:creator />
      <dc:date>2017-07-04T23:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations Diagram or Skript</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321417#M615544</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 aggr with &lt;STRONG&gt;distinct&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;aggr(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;Count({$&amp;lt;STATUS={'CAT2','CAT3','CAT4'}&amp;gt;} distinct STATUS),serail_number&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 07:15:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321417#M615544</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-07-05T07:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations Diagram or Skript</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321418#M615545</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;that just will count all my STATUS Entries once I think.. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'll try tomorrow again, but I think with your hint that should work(?):&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;aggr(&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Count({$&amp;lt;STATUS={'CAT2','CAT3','CAT4'}&amp;gt;}STATUS), DISTINCT serial_number&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 10:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321418#M615545</guid>
      <dc:creator />
      <dc:date>2017-07-05T10:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations Diagram or Skript</title>
      <link>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321419#M615546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please post an extended example data set as well as your expected result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jul 2017 21:47:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculations-Diagram-or-Skript/m-p/1321419#M615546</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2017-07-05T21:47:09Z</dc:date>
    </item>
  </channel>
</rss>

