<?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: Filter for 3 different states in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filter-for-3-different-states/m-p/1798867#M64702</link>
    <description>&lt;P&gt;Can you post some sample data and the results you get inside Qlik Sense now in a screen shot.&lt;/P&gt;&lt;P&gt;If you have a table with fields like Company, ProjectName, State&lt;/P&gt;&lt;P&gt;If you were to filter to a company or project it would automatically only show values for State that matched.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Apr 2021 16:52:49 GMT</pubDate>
    <dc:creator>Dalton_Ruer</dc:creator>
    <dc:date>2021-04-12T16:52:49Z</dc:date>
    <item>
      <title>Filter for 3 different states</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-for-3-different-states/m-p/1798835#M64695</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a specific issue for creating a filter which uses 3 states in the dimension and i don't know how to implement this.&lt;/P&gt;&lt;P&gt;For example, lets say I have the following filters and states:&lt;/P&gt;&lt;P&gt;company1, project1, state1&lt;BR /&gt;company2, project2, state2&lt;BR /&gt;company3, project3, state3&lt;/P&gt;&lt;P&gt;After selecting the companies and projects, I want to create a filter "work package" being applied for all 3 states. Currently this filter works only for state1.&lt;/P&gt;&lt;P&gt;Can someone give me a hint on how to achieve this?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 15:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-for-3-different-states/m-p/1798835#M64695</guid>
      <dc:creator>TinaHensel</dc:creator>
      <dc:date>2021-04-12T15:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for 3 different states</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-for-3-different-states/m-p/1798867#M64702</link>
      <description>&lt;P&gt;Can you post some sample data and the results you get inside Qlik Sense now in a screen shot.&lt;/P&gt;&lt;P&gt;If you have a table with fields like Company, ProjectName, State&lt;/P&gt;&lt;P&gt;If you were to filter to a company or project it would automatically only show values for State that matched.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Apr 2021 16:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-for-3-different-states/m-p/1798867#M64702</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2021-04-12T16:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for 3 different states</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-for-3-different-states/m-p/1798967#M64714</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;unfortunately I don't have a publicly available screenshot, so i would like to explain it as follows:&lt;/P&gt;&lt;P&gt;Lets say, i have the following data:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Company, Project, WP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A, Project1, X&lt;/P&gt;&lt;P&gt;A, Project1, Y&lt;/P&gt;&lt;P&gt;A, Project1, Y&lt;/P&gt;&lt;P&gt;A, Project2, X&lt;/P&gt;&lt;P&gt;A, Project2, Y&lt;/P&gt;&lt;P&gt;A, Project2, Z&lt;/P&gt;&lt;P&gt;A, Project3, X&lt;/P&gt;&lt;P&gt;A, Project3, Y&lt;/P&gt;&lt;P&gt;A, Project3, Z&lt;/P&gt;&lt;P&gt;A, Project4, X&lt;/P&gt;&lt;P&gt;A, Project4, Y&lt;/P&gt;&lt;P&gt;A, Project4, Z&lt;/P&gt;&lt;P&gt;Now i have the following filters (and states), named:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Company_1 (state1)&lt;UL&gt;&lt;LI&gt;Project_1 (&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Company_2 (state2)&lt;UL&gt;&lt;LI&gt;Project_2&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Company_3 (state3)&lt;UL&gt;&lt;LI&gt;Project_3&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;which for example is giving me:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Company_1, Project_1, WP, Company_2, Project_2, WP, Company_3, Project_3, WP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A, Project1, X, A, Project2, X,A, Project4,X&lt;/P&gt;&lt;P&gt;A, Project1, Y, A, Project2, Y,A, Project4,Y&lt;/P&gt;&lt;P&gt;A, Project1, Z, A, Project2, Z,A, Project4,Z&lt;/P&gt;&lt;P&gt;Now I want to include one filter called work package being applied to all of these states, giving (if WP X is selected):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Company_1, Project_1, WP, Company_2, Project_2, WP, Company_3, Project_3, WP&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A, Project1, X, A, Project2, X,A, Project4,X&lt;/P&gt;&lt;P&gt;Hopefully, this helps?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 06:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-for-3-different-states/m-p/1798967#M64714</guid>
      <dc:creator>TinaHensel</dc:creator>
      <dc:date>2021-04-13T06:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Filter for 3 different states</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-for-3-different-states/m-p/1799082#M64717</link>
      <description>&lt;P&gt;Ahhhh that clears things up a ton, you mean &lt;STRONG&gt;ALTERNATE STATES&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm going to make a slight change to your load script to add a field called value so that we can do an aggregate, SUM, that will allow me to more easily demonstrate.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Data:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Company, Project, WP, Value&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;A, Project1, X, 10&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;A, Project1, Y, 20&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;A, Project1, Z, 30&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;A, Project2, X, 10&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;A, Project2, Y, 20&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;A, Project2, Z, 30&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;B, Project3, X, 10&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;B, Project3, Y, 20&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;B, Project3, Z, 30&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;];&lt;/P&gt;&lt;P&gt;Notice in this image that I have provided a filter for the WP value that is in the DEFAULT (alternate) STATE. And 3 filters for Project as you required. Then I added 3 KPI objects whos expression is simply SUM and includes the name of the (alternate) state. All 3 boxes total to 60 since all 3 KPI's include all WP rows, 10+20+30.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I created a KPI that says "Hey I want to honor the filters for STATE 3, but I want to further restrict the values so that the WP of STATE 3 = the value of WP from the DEFAULT (alternate) STATE.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AlternateStates.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/52897i097EEBF853F0D537/image-size/large?v=v2&amp;amp;px=999" role="button" title="AlternateStates.png" alt="AlternateStates.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Examples%20of%20Alternate%20States%20in%20Chart%20Expressions.htm" target="_blank" rel="noopener"&gt;You can read more about synchronizing values between your different ALTERNATE STATES by clicking here.&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Apr 2021 12:38:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-for-3-different-states/m-p/1799082#M64717</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2021-04-13T12:38:18Z</dc:date>
    </item>
  </channel>
</rss>

