<?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: Complex logic in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Complex-logic/m-p/114594#M758703</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;ID_NAME = {"=Count(Status) = 2 and Match(Concat(DISTINCT Status, ','), 'Completed', 'Accepted', 'Accepted,Completed')"}&amp;gt;}Score)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(Status)&lt;/STRONG&gt; is checking if ID_NAME has 2 Statuses or not.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Match(Concat(DISTINCT Status, ','), 'Completed', 'Accepted', 'Accepted,Completed') &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;is checking if the Statuses are either 2 Completed or 2 Accepted or Completed and Accepted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If the above 2 conditions meet, then Sum the Score of the ID_NAME&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2018 12:47:24 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-08-23T12:47:24Z</dc:date>
    <item>
      <title>Complex logic</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-logic/m-p/114591#M758700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expertise, &lt;/P&gt;&lt;P&gt;PLease find the attachment of excel file and the qvw application. &lt;/P&gt;&lt;P&gt;IN the data i have , ID, Status and score. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two types of ID's one is TS and the other is OS ... to calculate the score i need to show as ID's only when the TS and OS should be either have status as Accepted or Completed.&lt;/P&gt;&lt;P&gt;If one is ID is having status as completed and other is in different status or its not present than we should not show it ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say for example for ID =18.1TS status is completed and for 18.1OS the status is Idea then i should not show 18.1 score in my table. &lt;/P&gt;&lt;P&gt;Similarly for 18.7 only TS is present OS is not there therefore i should not show it ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I Need to show only when TS and OS for ID's should be present in Completed or Accepted else i should not show it ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have grouped 18.1 TS and 18.OS as 18.1 and so on..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need your help in achieving this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance &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/Complex-logic/m-p/114591#M758700</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Complex logic</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-logic/m-p/114592#M758701</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;&lt;STRONG&gt;Sum({&amp;lt;ID_NAME = {"=Count(Status) = 2 and Match(Concat(DISTINCT Status, ','), 'Completed', 'Accepted', 'Accepted,Completed')"}&amp;gt;}Score)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211604_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 11:34:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-logic/m-p/114592#M758701</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-23T11:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Complex logic</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-logic/m-p/114593#M758702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;Thanks this is working ...&lt;/P&gt;&lt;P&gt;Can you please explain me how this expression works .It will be really a great help &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot once again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 12:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-logic/m-p/114593#M758702</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2018-08-23T12:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Complex logic</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-logic/m-p/114594#M758703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;ID_NAME = {"=Count(Status) = 2 and Match(Concat(DISTINCT Status, ','), 'Completed', 'Accepted', 'Accepted,Completed')"}&amp;gt;}Score)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(Status)&lt;/STRONG&gt; is checking if ID_NAME has 2 Statuses or not.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Match(Concat(DISTINCT Status, ','), 'Completed', 'Accepted', 'Accepted,Completed') &lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;is checking if the Statuses are either 2 Completed or 2 Accepted or Completed and Accepted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If the above 2 conditions meet, then Sum the Score of the ID_NAME&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 12:47:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-logic/m-p/114594#M758703</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-08-23T12:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Complex logic</title>
      <link>https://community.qlik.com/t5/QlikView/Complex-logic/m-p/114595#M758705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot sir,&lt;/P&gt;&lt;P&gt;You are just awesome &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 13:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Complex-logic/m-p/114595#M758705</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2018-08-23T13:17:25Z</dc:date>
    </item>
  </channel>
</rss>

