<?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 with Alternate State - ignore specific field selections in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Alternate-State-ignore-specific-field/m-p/2018637#M84133</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I found topics on how to exclude field selections in a set analysis. However I am using a formula including an alternate state where the solutions I found don't seem to work.&lt;BR /&gt;I am using Qlik Sense SAAS.&lt;/P&gt;
&lt;P&gt;I want to include any selections for fields not specified and exclude selections only for specific fields. I am also using the set expression to fix some selections.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;My formula goes like this:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Sum({$*[Current Timeframe]&amp;lt;serviceStatus_leistung-={'SE','ST'},price_leistung={"&amp;gt;0"},dataSource_leistung={'Online'},Area=&amp;gt;}price_leistung)&lt;/EM&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;This Formula sums the price for all services in the given State which don't match the specified Status, have a price above 0 and only for data which has the source = Online.&lt;/LI&gt;
&lt;LI&gt;I want to exclude selections of the Field "Area" since this would overwrite my datasource selection, ans in many cases resulting in 0 values. With my current formula however, if I make any selections for the field "Area", the value drops to 0 regardless of my exclusion attempt of said field by setting "&lt;EM&gt;Area= "&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;The Selection Field "Area" is not fixed to the State&amp;nbsp;[Current Timeframe] since it should apply on all states in the dashboard (I am using states to display multiple timeframes). Could this be the issue? Do I have to specify in my formula that this field is not fixed to the alternate state?&lt;/LI&gt;
&lt;LI&gt;All other Fields which are used for selections are also not fixed to the State and they should apply to my selection (this is working with the current formula).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If I don't use any identifier and operator like this, no selections from other fields get applied:&amp;nbsp;&lt;BR /&gt;&lt;EM&gt;Sum({[Current Timeframe]&amp;lt;serviceStatus_leistung-={'SE','ST'},price_leistung={"&amp;gt;0"},dataSource_leistung={'Online'},Area=&amp;gt;}price_leistung)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I also tried it with the P( Function as described in other solutions which had the same result.&lt;/P&gt;
&lt;P&gt;Thanks for any help&lt;BR /&gt;Philip&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2022 17:02:42 GMT</pubDate>
    <dc:creator>Philip_Z</dc:creator>
    <dc:date>2022-12-20T17:02:42Z</dc:date>
    <item>
      <title>Set Analysis with Alternate State - ignore specific field selections</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Alternate-State-ignore-specific-field/m-p/2018637#M84133</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I found topics on how to exclude field selections in a set analysis. However I am using a formula including an alternate state where the solutions I found don't seem to work.&lt;BR /&gt;I am using Qlik Sense SAAS.&lt;/P&gt;
&lt;P&gt;I want to include any selections for fields not specified and exclude selections only for specific fields. I am also using the set expression to fix some selections.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;My formula goes like this:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Sum({$*[Current Timeframe]&amp;lt;serviceStatus_leistung-={'SE','ST'},price_leistung={"&amp;gt;0"},dataSource_leistung={'Online'},Area=&amp;gt;}price_leistung)&lt;/EM&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;This Formula sums the price for all services in the given State which don't match the specified Status, have a price above 0 and only for data which has the source = Online.&lt;/LI&gt;
&lt;LI&gt;I want to exclude selections of the Field "Area" since this would overwrite my datasource selection, ans in many cases resulting in 0 values. With my current formula however, if I make any selections for the field "Area", the value drops to 0 regardless of my exclusion attempt of said field by setting "&lt;EM&gt;Area= "&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;The Selection Field "Area" is not fixed to the State&amp;nbsp;[Current Timeframe] since it should apply on all states in the dashboard (I am using states to display multiple timeframes). Could this be the issue? Do I have to specify in my formula that this field is not fixed to the alternate state?&lt;/LI&gt;
&lt;LI&gt;All other Fields which are used for selections are also not fixed to the State and they should apply to my selection (this is working with the current formula).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If I don't use any identifier and operator like this, no selections from other fields get applied:&amp;nbsp;&lt;BR /&gt;&lt;EM&gt;Sum({[Current Timeframe]&amp;lt;serviceStatus_leistung-={'SE','ST'},price_leistung={"&amp;gt;0"},dataSource_leistung={'Online'},Area=&amp;gt;}price_leistung)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;I also tried it with the P( Function as described in other solutions which had the same result.&lt;/P&gt;
&lt;P&gt;Thanks for any help&lt;BR /&gt;Philip&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 17:02:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-with-Alternate-State-ignore-specific-field/m-p/2018637#M84133</guid>
      <dc:creator>Philip_Z</dc:creator>
      <dc:date>2022-12-20T17:02:42Z</dc:date>
    </item>
  </channel>
</rss>

