<?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 Need to count the Processes that have exclusively one type of status. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Need-to-count-the-Processes-that-have-exclusively-one-type-of/m-p/2099503#M90016</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;i am trying to develop a code to find the count of process where the status is exclusively 'not in scope' and does not have any other status for a particular Unit. The source data is attached.&lt;/P&gt;
&lt;P&gt;i tried with this code:&lt;/P&gt;
&lt;P&gt;tier_3:&lt;BR /&gt;Load&lt;BR /&gt;&lt;BR /&gt;Major category,&lt;BR /&gt;unit,&lt;BR /&gt;'Tier3' As Tool,&lt;BR /&gt;Count(DISTINCT (if([GFC Status]='Not in Scope',Process))) as Process&lt;/P&gt;
&lt;P&gt;From sourcedata&lt;BR /&gt;Group by Major category,Unit, Process;&lt;/P&gt;
&lt;DIV class="flex-1 overflow-hidden"&gt;
&lt;DIV class="react-scroll-to-bottom--css-qmpyp-79elbk h-full dark:bg-gray-800"&gt;
&lt;DIV class="react-scroll-to-bottom--css-qmpyp-1n7m0yu"&gt;
&lt;DIV class="flex flex-col text-sm dark:bg-gray-800"&gt;
&lt;DIV class="group w-full text-gray-800 dark:text-gray-100 border-b border-black/10 dark:border-gray-900/50 dark:bg-gray-800"&gt;
&lt;DIV class="flex p-4 gap-4 text-base md:gap-6 md:max-w-2xl lg:max-w-[38rem] xl:max-w-3xl md:py-6 lg:px-0 m-auto"&gt;
&lt;DIV class="relative flex w-[calc(100%-50px)] flex-col gap-1 md:gap-3 lg:w-[calc(100%-115px)]"&gt;
&lt;DIV class="flex flex-grow flex-col gap-3"&gt;
&lt;DIV class="min-h-[20px] flex items-start overflow-x-auto whitespace-pre-wrap break-words"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="group w-full text-gray-800 dark:text-gray-100 border-b border-black/10 dark:border-gray-900/50 bg-gray-50 dark:bg-[#444654]"&gt;
&lt;DIV class="flex p-4 gap-4 text-base md:gap-6 md:max-w-2xl lg:max-w-[38rem] xl:max-w-3xl md:py-6 lg:px-0 m-auto"&gt;
&lt;DIV class="relative flex w-[calc(100%-50px)] flex-col gap-1 md:gap-3 lg:w-[calc(100%-115px)]"&gt;
&lt;DIV class="flex flex-grow flex-col gap-3"&gt;
&lt;DIV class="min-h-[20px] flex items-start overflow-x-auto whitespace-pre-wrap break-words"&gt;
&lt;DIV class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;P&gt;But this is giving me all the distinct count of Process against the units with 'not in scope' status.&lt;/P&gt;
&lt;P&gt;for eg in the shared data i have unit 2200 with only one process i.e., seven with only and only 'not in scope status, whereas other processes have a combination of NA, in-scope, not in scope and partially in scope.&lt;/P&gt;
&lt;P&gt;Just to add all units have 7 distinct process(one,two,three.....,seven). Also i need the balance process into other measure as in scope.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BUTTON class="cursor-pointer absolute right-6 bottom-[124px] md:bottom-[180px] lg:bottom-[120px] z-10 rounded-full border border-gray-200 bg-gray-50 text-gray-600 dark:border-white/10 dark:bg-white/10 dark:text-gray-200"&gt;&lt;/BUTTON&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 02 Aug 2023 11:44:44 GMT</pubDate>
    <dc:creator>Hemu</dc:creator>
    <dc:date>2023-08-02T11:44:44Z</dc:date>
    <item>
      <title>Need to count the Processes that have exclusively one type of status.</title>
      <link>https://community.qlik.com/t5/App-Development/Need-to-count-the-Processes-that-have-exclusively-one-type-of/m-p/2099503#M90016</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;i am trying to develop a code to find the count of process where the status is exclusively 'not in scope' and does not have any other status for a particular Unit. The source data is attached.&lt;/P&gt;
&lt;P&gt;i tried with this code:&lt;/P&gt;
&lt;P&gt;tier_3:&lt;BR /&gt;Load&lt;BR /&gt;&lt;BR /&gt;Major category,&lt;BR /&gt;unit,&lt;BR /&gt;'Tier3' As Tool,&lt;BR /&gt;Count(DISTINCT (if([GFC Status]='Not in Scope',Process))) as Process&lt;/P&gt;
&lt;P&gt;From sourcedata&lt;BR /&gt;Group by Major category,Unit, Process;&lt;/P&gt;
&lt;DIV class="flex-1 overflow-hidden"&gt;
&lt;DIV class="react-scroll-to-bottom--css-qmpyp-79elbk h-full dark:bg-gray-800"&gt;
&lt;DIV class="react-scroll-to-bottom--css-qmpyp-1n7m0yu"&gt;
&lt;DIV class="flex flex-col text-sm dark:bg-gray-800"&gt;
&lt;DIV class="group w-full text-gray-800 dark:text-gray-100 border-b border-black/10 dark:border-gray-900/50 dark:bg-gray-800"&gt;
&lt;DIV class="flex p-4 gap-4 text-base md:gap-6 md:max-w-2xl lg:max-w-[38rem] xl:max-w-3xl md:py-6 lg:px-0 m-auto"&gt;
&lt;DIV class="relative flex w-[calc(100%-50px)] flex-col gap-1 md:gap-3 lg:w-[calc(100%-115px)]"&gt;
&lt;DIV class="flex flex-grow flex-col gap-3"&gt;
&lt;DIV class="min-h-[20px] flex items-start overflow-x-auto whitespace-pre-wrap break-words"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="group w-full text-gray-800 dark:text-gray-100 border-b border-black/10 dark:border-gray-900/50 bg-gray-50 dark:bg-[#444654]"&gt;
&lt;DIV class="flex p-4 gap-4 text-base md:gap-6 md:max-w-2xl lg:max-w-[38rem] xl:max-w-3xl md:py-6 lg:px-0 m-auto"&gt;
&lt;DIV class="relative flex w-[calc(100%-50px)] flex-col gap-1 md:gap-3 lg:w-[calc(100%-115px)]"&gt;
&lt;DIV class="flex flex-grow flex-col gap-3"&gt;
&lt;DIV class="min-h-[20px] flex items-start overflow-x-auto whitespace-pre-wrap break-words"&gt;
&lt;DIV class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;P&gt;But this is giving me all the distinct count of Process against the units with 'not in scope' status.&lt;/P&gt;
&lt;P&gt;for eg in the shared data i have unit 2200 with only one process i.e., seven with only and only 'not in scope status, whereas other processes have a combination of NA, in-scope, not in scope and partially in scope.&lt;/P&gt;
&lt;P&gt;Just to add all units have 7 distinct process(one,two,three.....,seven). Also i need the balance process into other measure as in scope.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BUTTON class="cursor-pointer absolute right-6 bottom-[124px] md:bottom-[180px] lg:bottom-[120px] z-10 rounded-full border border-gray-200 bg-gray-50 text-gray-600 dark:border-white/10 dark:bg-white/10 dark:text-gray-200"&gt;&lt;/BUTTON&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 02 Aug 2023 11:44:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-to-count-the-Processes-that-have-exclusively-one-type-of/m-p/2099503#M90016</guid>
      <dc:creator>Hemu</dc:creator>
      <dc:date>2023-08-02T11:44:44Z</dc:date>
    </item>
  </channel>
</rss>

