<?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: Alternate State Expressions taking Default State Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alternate-State-Expressions-taking-Default-State-Selections/m-p/90851#M14757</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this? This will honor selections in all fields from OldWeek and $... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({OldWeek&lt;SPAN style="color: #ff0000;"&gt;*$&lt;/SPAN&gt;} Inv_Total_Cost)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to ignore some from inherited state... you can do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({OldWeek&lt;SPAN style="color: #ff0000;"&gt;*$&amp;lt;Field1, Field2, Field3&amp;gt;&lt;/SPAN&gt;} Inv_Total_Cost)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jul 2018 15:22:40 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-07-16T15:22:40Z</dc:date>
    <item>
      <title>Alternate State Expressions taking Default State Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-Expressions-taking-Default-State-Selections/m-p/90850#M14756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Alternate States in order to create dynamic week over week comparisons, by creating an alternate state for two different week selections.&amp;nbsp; I would love if I could also have my expressions take field selections that occur in the default state, and I know I can use a syntax similar to the following to accomplish this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({OldWeek &amp;lt;Inventory_Type= $::Inventory_Type&amp;gt;} Inv_Total_Cost)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other way of accomplishing this, without listing every field in the default state in the chart expression like this?&amp;nbsp; I am picturing a solution with field selection trigger that copy over selections to the two alternate states, but this seems clunky as well.&amp;nbsp; I have dozens of fields that I would want to filter my alternate state expressions on, so I am hoping for a more elegant solutions that doesn't blow up my chart expressions into 100's of lines each.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2018 15:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-Expressions-taking-Default-State-Selections/m-p/90850#M14756</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-16T15:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate State Expressions taking Default State Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-Expressions-taking-Default-State-Selections/m-p/90851#M14757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this? This will honor selections in all fields from OldWeek and $... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({OldWeek&lt;SPAN style="color: #ff0000;"&gt;*$&lt;/SPAN&gt;} Inv_Total_Cost)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to ignore some from inherited state... you can do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({OldWeek&lt;SPAN style="color: #ff0000;"&gt;*$&amp;lt;Field1, Field2, Field3&amp;gt;&lt;/SPAN&gt;} Inv_Total_Cost)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2018 15:22:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-Expressions-taking-Default-State-Selections/m-p/90851#M14757</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-07-16T15:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate State Expressions taking Default State Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Alternate-State-Expressions-taking-Default-State-Selections/m-p/90852#M14758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is exactly what I was looking for, Thank You so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2018 15:32:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alternate-State-Expressions-taking-Default-State-Selections/m-p/90852#M14758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-16T15:32:52Z</dc:date>
    </item>
  </channel>
</rss>

