<?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 Display employees if 1 condition is met in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Display-employees-if-1-condition-is-met/m-p/103004#M6928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First post, hoping for some help here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, I have a situation where employees have 3 stages of expense submission (A,B,C). in a stacked bar chart.&amp;nbsp; My task is to allow the user to filter employees based on whether employees have C, without filtering the bar down to being just data for C. (e.g. if you have C, great, let me see the full bar for those meeting that criteria so I can compare it to a maximum reference line) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if Person 1 has expense A and B and&lt;/P&gt;&lt;P&gt;Person 2 has A, B, C, and&lt;/P&gt;&lt;P&gt;Person 3 has A and C,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a way to display the entire bar for Person 2&amp;nbsp; (A,B,C) and Person 3 (A, C)&amp;nbsp; so I can still compare to my maximum reference line and remove Person 1 completely. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, if I filter on C, I just get the values for C and lose the AB portion, making my maximum reference line useless.&amp;nbsp; &lt;/P&gt;&lt;P&gt;The other approach was to manually select those with C to filter down to just those employees but the employee list will grow. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:56:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T07:56:33Z</dc:date>
    <item>
      <title>Display employees if 1 condition is met</title>
      <link>https://community.qlik.com/t5/App-Development/Display-employees-if-1-condition-is-met/m-p/103004#M6928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First post, hoping for some help here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, I have a situation where employees have 3 stages of expense submission (A,B,C). in a stacked bar chart.&amp;nbsp; My task is to allow the user to filter employees based on whether employees have C, without filtering the bar down to being just data for C. (e.g. if you have C, great, let me see the full bar for those meeting that criteria so I can compare it to a maximum reference line) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if Person 1 has expense A and B and&lt;/P&gt;&lt;P&gt;Person 2 has A, B, C, and&lt;/P&gt;&lt;P&gt;Person 3 has A and C,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a way to display the entire bar for Person 2&amp;nbsp; (A,B,C) and Person 3 (A, C)&amp;nbsp; so I can still compare to my maximum reference line and remove Person 1 completely. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently, if I filter on C, I just get the values for C and lose the AB portion, making my maximum reference line useless.&amp;nbsp; &lt;/P&gt;&lt;P&gt;The other approach was to manually select those with C to filter down to just those employees but the employee list will grow. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance would be greatly appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-employees-if-1-condition-is-met/m-p/103004#M6928</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Display employees if 1 condition is met</title>
      <link>https://community.qlik.com/t5/App-Development/Display-employees-if-1-condition-is-met/m-p/103005#M6929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the "possible" P() element function to select persons only if they have any EXPENSE in the C category:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( { &amp;lt; PERSON = &lt;STRONG&gt;P({&amp;lt;EXPENSE={'C'}&amp;gt;})&lt;/STRONG&gt; &amp;gt; } AMOUNT )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 21:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-employees-if-1-condition-is-met/m-p/103005#M6929</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-07-18T21:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Display employees if 1 condition is met</title>
      <link>https://community.qlik.com/t5/App-Development/Display-employees-if-1-condition-is-met/m-p/103006#M6930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Petter, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the response.&amp;nbsp; Quick question,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would this go in the filter? Or is this the code I would use in my measure section of the chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 21:56:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-employees-if-1-condition-is-met/m-p/103006#M6930</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-18T21:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Display employees if 1 condition is met</title>
      <link>https://community.qlik.com/t5/App-Development/Display-employees-if-1-condition-is-met/m-p/103007#M6931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Edit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Petter,&amp;nbsp; Set analysis is getting me closer.&amp;nbsp; However, your code totaled all expenses for the person, so long as they had expense 1 stage C.&amp;nbsp; C is a [Stage] in submission for an expense.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this and it is getting me closer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({1}If([Expense]='1',[Amount])&lt;/P&gt;&lt;P&gt;as my measure for the bar chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and [Stage] as my filter.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I need the bar chart to remove all people that don't have the selected filter [Stage], while keeping the full bar (stage A,B,C) for those that remain. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 22:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-employees-if-1-condition-is-met/m-p/103007#M6931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-18T22:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Display employees if 1 condition is met</title>
      <link>https://community.qlik.com/t5/App-Development/Display-employees-if-1-condition-is-met/m-p/103008#M6932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It was meant as a measure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 16:56:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-employees-if-1-condition-is-met/m-p/103008#M6932</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-07-19T16:56:26Z</dc:date>
    </item>
  </channel>
</rss>

