<?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 How to count excluded/original data from within an expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289067#M1200759</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Roland,&lt;/P&gt;&lt;P&gt;This gets me a count of Case against Analyst against non-null Solution_Author.&lt;/P&gt;&lt;P&gt;I have also tried&lt;/P&gt;&lt;P&gt;count({$1&amp;lt;CASE=&amp;gt;} Solution_Author)&lt;/P&gt;&lt;P&gt;Which gives me a Count against all Analyst against non-null Solution_Author.&lt;/P&gt;&lt;P&gt;Note Analyst and Solution_Author could be the same value.&lt;/P&gt;&lt;P&gt;I'm looking for an unfiltered count of case count against particular Analyst/Solution_Author.&lt;/P&gt;&lt;P&gt;The below counts the number of Cases where the 'filtered' Analyst = Solution_Author&lt;/P&gt;&lt;P&gt;Count (IF(Solution_Author=Analyst,Solution_Author))&lt;/P&gt;&lt;P&gt;Count (CASE) gives me a count of case against 'filtered' Analyst if that helps.&lt;/P&gt;&lt;P&gt;DR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Nov 2010 16:50:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-16T16:50:24Z</dc:date>
    <item>
      <title>How to count excluded/original data from within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289065#M1200757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for a basic question. I have looked all over the site but can't find what I'm looking for.&lt;/P&gt;&lt;P&gt;I have data Case, Product_Team, Analyst, Solution_Author&lt;/P&gt;&lt;P&gt;I use a list box to select Product_Team which gives me a list of Analyst and I can do Case counts and Solution counts when owned/filtered by the Analyst on the Product_Team no problem. Solutions however can be used by other Product_Teams which is where I have my problem&lt;/P&gt;&lt;P&gt;What I am looking for is a way to count the Solution_Author where the Case is NOT filtered by the Product_Team ie from the Original data.&lt;/P&gt;&lt;P&gt;Appreciate any assistance.&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 15:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289065#M1200757</guid>
      <dc:creator />
      <dc:date>2010-11-16T15:29:52Z</dc:date>
    </item>
    <item>
      <title>How to count excluded/original data from within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289066#M1200758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;for your expression you can use Set analysis similar to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;count( { $ &amp;lt; Case= &amp;gt; } Solution_Author)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;where $ means all user - selection are included. But the &amp;lt;&amp;gt; are the "exception-brackets" and in my expression any selection of Case isn't respected for this expression.&lt;/P&gt;&lt;P&gt;HTH, Roland&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 16:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289066#M1200758</guid>
      <dc:creator />
      <dc:date>2010-11-16T16:06:05Z</dc:date>
    </item>
    <item>
      <title>How to count excluded/original data from within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289067#M1200759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Roland,&lt;/P&gt;&lt;P&gt;This gets me a count of Case against Analyst against non-null Solution_Author.&lt;/P&gt;&lt;P&gt;I have also tried&lt;/P&gt;&lt;P&gt;count({$1&amp;lt;CASE=&amp;gt;} Solution_Author)&lt;/P&gt;&lt;P&gt;Which gives me a Count against all Analyst against non-null Solution_Author.&lt;/P&gt;&lt;P&gt;Note Analyst and Solution_Author could be the same value.&lt;/P&gt;&lt;P&gt;I'm looking for an unfiltered count of case count against particular Analyst/Solution_Author.&lt;/P&gt;&lt;P&gt;The below counts the number of Cases where the 'filtered' Analyst = Solution_Author&lt;/P&gt;&lt;P&gt;Count (IF(Solution_Author=Analyst,Solution_Author))&lt;/P&gt;&lt;P&gt;Count (CASE) gives me a count of case against 'filtered' Analyst if that helps.&lt;/P&gt;&lt;P&gt;DR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 16:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289067#M1200759</guid>
      <dc:creator />
      <dc:date>2010-11-16T16:50:24Z</dc:date>
    </item>
    <item>
      <title>How to count excluded/original data from within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289068#M1200760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if I'm following. Let's say you have this data:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Case, Product_Team, Analyst, Solution_Author&lt;BR /&gt;1, A, Bob, Carla&lt;BR /&gt;2, A, Carla, Dan&lt;BR /&gt;3, A, Bob, Dan&lt;BR /&gt;4, A, Bob, Bob&lt;BR /&gt;4, B, Ann, Ed&lt;BR /&gt;5, B, Bob, Ed&lt;/P&gt;&lt;P&gt;If I select Product_Team B, that gives us cases 4 and 5. You want to exclude those cases and look at only cases 1-3. For those cases, the Solution_Authors are Carla, Dan and Dan. So you want a count of 2 distinct Solution_Authors. Is that correct?&lt;/P&gt;&lt;P&gt;If so, it appears that this does the trick:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;count({&amp;lt;Product_Team=,Case=E()&amp;gt;} distinct Solution_Author)&lt;/P&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 00:51:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289068#M1200760</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-17T00:51:35Z</dc:date>
    </item>
    <item>
      <title>How to count excluded/original data from within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289069#M1200761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached a new tab.&lt;/P&gt;&lt;P&gt;Normal 0 false false false EN-GB X-NONE X-NONE MicrosoftInternetExplorer4&lt;/P&gt;&lt;P&gt;Using this data, your data slightly modified (Carla). Changed Bob to Fred on Team B to avoid confusion.&lt;/P&gt;&lt;P&gt;1, A, Bob, Carla&lt;BR /&gt;2, A, Carla, Carla&lt;BR /&gt;3, A, Bob, Dan&lt;BR /&gt;4, A, Bob, Bob&lt;BR /&gt;5, B, Ann, Ed&lt;BR /&gt;6, B, Fred, Carla&lt;/P&gt;&lt;P&gt;Looking at Analyst/Solution_Author Carla. We see that when we filtered to her we show she is the Analyst on 1 case, authored the solution for 2 for the team and authored the solution for 3 cases in total. It is total I am having trouble getting to ie. the case with Carla's solution that Fred on Team B used.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 14:51:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289069#M1200761</guid>
      <dc:creator />
      <dc:date>2010-11-17T14:51:45Z</dc:date>
    </item>
    <item>
      <title>How to count excluded/original data from within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289070#M1200762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If we select Solution_Author Carla, a simple count(Solution_Author) gives you 3. I'm guessing that what you want isn't that simple, because you then say something I make no sense of at all, "the case with Carla's solution that Fred on Team B used". Yes, I can see a row of data for that. But what does that have to do with the total of 3 cases, other than the fact that it is one case being counted because Carla is the Solution_Author for it? I assume there's some point being made that I'm not understanding? Also, I'm having no luck trying to figure out how this relates to what seems like a completely different question in the original post, where you also say "where the case is NOT filtered by the Product_Team". Or are these two completely different questions? Also, the data in the file you posted doesn't match the data in the post itself (same people, different case numbers), so then I'm not certain when you give examples of counts whether you're refering to the file's data set or the data set in the post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 17:32:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289070#M1200762</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-17T17:32:16Z</dc:date>
    </item>
    <item>
      <title>How to count excluded/original data from within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289071#M1200763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for any confusion, hope this explains.&lt;/P&gt;&lt;P&gt;If you look at the file qvw I attached in the previous post. You will see in the Copy of Main (properties, expressions) that I have tried to add another column to the chart that gives a Total of solutions authored by the 'Team/Analyst', Carla in this case. Once the Team/Analyst has been selected I can't get to data outside of the filter.ie I can't count the solution of Carlas that Fred used.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;DR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 17:56:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289071#M1200763</guid>
      <dc:creator />
      <dc:date>2010-11-17T17:56:34Z</dc:date>
    </item>
    <item>
      <title>How to count excluded/original data from within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289072#M1200764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you've selected product team A. That team has analysts Bob and Carla. You're happy with the first three expressions for them. You're trying to add a fourth expression. You want a value of 3 for Carla for this fourth expression, because Carla has authored three solutions, and you don't care that one of those solutions is for team B, even though team A is selected? And you want 3 assigned to Carla, even though she was only the analyst for 1 of them, and the dimension is analyst? We might call this new expression "solutions provided by this analyst to ALL product teams and analysts"?&lt;/P&gt;&lt;P&gt;So far I've been unable to figure it out using only an expression. But the attached accomplishes what I think you want by adding a Roles table to the data model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 19:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289072#M1200764</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-17T19:54:12Z</dc:date>
    </item>
    <item>
      <title>How to count excluded/original data from within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289073#M1200765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John, works a treat. Taught me how to work with crosstable too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 20:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/289073#M1200765</guid>
      <dc:creator />
      <dc:date>2010-11-17T20:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to count excluded/original data from within an expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/1603359#M1200766</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am facing a similar problem.&lt;/P&gt;&lt;P&gt;I am counting 2 columns A and B, &lt;STRONG&gt;Count( DISTINCT A&amp;amp;'|'&amp;amp;B)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I want to exclude any cells with the word "&lt;STRONG&gt;ROM&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do this ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2019 19:09:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-count-excluded-original-data-from-within-an-expression/m-p/1603359#M1200766</guid>
      <dc:creator>abhi1693r</dc:creator>
      <dc:date>2019-07-17T19:09:28Z</dc:date>
    </item>
  </channel>
</rss>

