<?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 Set Analysis COndition with ALternate State &amp;amp; Default State Condition in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-COndition-with-ALternate-State-amp-Default-State/m-p/1559832#M62918</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I currently have a chart with this measure:&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;[Task Resource.rsrc_type]={'RT_Labor'}&amp;gt;} (act_reg_qty)*[Task Resource.cost_per_qty])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to incorporate alternate state AND allow it to inherit default state selections too, something like:&lt;/P&gt;
&lt;P&gt;{"State1"&amp;lt;proj_short_name = $::proj_short_name&amp;gt;} ,&amp;nbsp; {"State1"&amp;lt;proj_status = $::status&amp;gt;} and&amp;nbsp;{"State1"&amp;lt;resource = $::resource&amp;gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm having troubles incorporating them. Any help is appreciated!&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:16:46 GMT</pubDate>
    <dc:creator>ext_bks</dc:creator>
    <dc:date>2024-11-16T06:16:46Z</dc:date>
    <item>
      <title>Set Analysis COndition with ALternate State &amp; Default State Condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-COndition-with-ALternate-State-amp-Default-State/m-p/1559832#M62918</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I currently have a chart with this measure:&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;[Task Resource.rsrc_type]={'RT_Labor'}&amp;gt;} (act_reg_qty)*[Task Resource.cost_per_qty])&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to incorporate alternate state AND allow it to inherit default state selections too, something like:&lt;/P&gt;
&lt;P&gt;{"State1"&amp;lt;proj_short_name = $::proj_short_name&amp;gt;} ,&amp;nbsp; {"State1"&amp;lt;proj_status = $::status&amp;gt;} and&amp;nbsp;{"State1"&amp;lt;resource = $::resource&amp;gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm having troubles incorporating them. Any help is appreciated!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-COndition-with-ALternate-State-amp-Default-State/m-p/1559832#M62918</guid>
      <dc:creator>ext_bks</dc:creator>
      <dc:date>2024-11-16T06:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis COndition with ALternate State &amp; Default State Condition</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-COndition-with-ALternate-State-amp-Default-State/m-p/1561528#M62919</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like you got tangled in the Set Analysis syntax. Make sure you have all of your conditions listed in one comma-separated list. Keywords like "and" are not accepted there. You don't need double quotes for your Alt State code, either.&lt;/P&gt;&lt;P&gt;For quoting possible values from another Alternate State, I'd recommend using the function P(). So, something like this should fly:&lt;/P&gt;&lt;P&gt;{State1&amp;lt;&lt;/P&gt;&lt;P&gt;Project&amp;nbsp; = P({$} Project), Status = P({$} Status), resource=P({$} Resource)&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;It's not too late to sign up for the next &lt;A title="Masters Summit for Qlik" href="https://MastesSummit.com" target="_blank" rel="noopener"&gt;Masters Summit for Qlik&lt;/A&gt; event in Stockholm, starting on Monday,&amp;nbsp; where I'm teaching advanced Set Analysis, AGGR, and Alternate States.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2019 17:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-COndition-with-ALternate-State-amp-Default-State/m-p/1561528#M62919</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2019-03-26T17:47:32Z</dc:date>
    </item>
  </channel>
</rss>

