<?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: Analysis for different types of selections in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Analysis-for-different-types-of-selections/m-p/3574#M255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right! It's working! Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jan 2018 14:41:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-19T14:41:29Z</dc:date>
    <item>
      <title>Analysis for different types of selections</title>
      <link>https://community.qlik.com/t5/App-Development/Analysis-for-different-types-of-selections/m-p/3569#M250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;Hi everyone, I´m trying to make an analysis possible to different types of selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;The requirement may be to analyse the incoming orders by OrdItemInsDtWeek (probably this will be my default analyse) or by a range of manual ly selected days (wich means the user will&amp;nbsp; have to select a range of OrdItemInsDt' values)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;I've tried to it in many ways but I didn't get there. My last try was with this expression:&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;=If(GetFieldSelections(OrdItemInsDt)&amp;gt;0, sum({&amp;lt;OrdItemInsDt={$(=GetFieldSelections(OrdItemInsDt))},OrdItemMillAlloc={*}-{'USA'}, OrdItemProdCd={*}-{'SHT'},OrdMasterOrdType={'CUST','STOCK-WHSE'}, OrdItemOrdStat={'CONFIRM','COMPLETE','HOLD'}&amp;gt;}if(OrdItemDelDate&amp;lt;&amp;gt;OrdMasterOrdDate, OrdItemOrdKgs))/1000, sum({&amp;lt;OrdItemInsDtWeek={$(=vLastInsDtWeek)},OrdItemMillAlloc={*}-{'USA'}, OrdItemProdCd={*}-{'SHT'},OrdMasterOrdType={'CUST','STOCK-WHSE'}, OrdItemOrdStat={'CONFIRM','COMPLETE','HOLD'}&amp;gt;}if(OrdItemDelDate&amp;lt;&amp;gt;OrdMasterOrdDate, OrdItemOrdKgs))/1000)&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;Do you have any idea what I might be doing wrong? Any help is welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;Thank you,&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;&lt;/P&gt;&lt;P style="font-family: Calibri; font-size: 11.0pt;"&gt;Sofia Vaz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 10:59:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Analysis-for-different-types-of-selections/m-p/3569#M250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-19T10:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Analysis for different types of selections</title>
      <link>https://community.qlik.com/t5/App-Development/Analysis-for-different-types-of-selections/m-p/3570#M251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The expression looks OK to me. First check the variable and the GetFieldSelections() function. Check the value of the variable and expression and and plug these values into the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should they have quotes?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;OrdItemInsDt={"$(=GetFieldSelections(OrdItemInsDt))"},&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;OrdItemInsDtWeek={"$(=vLastInsDtWeek)"},&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 11:23:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Analysis-for-different-types-of-selections/m-p/3570#M251</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-19T11:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Analysis for different types of selections</title>
      <link>https://community.qlik.com/t5/App-Development/Analysis-for-different-types-of-selections/m-p/3571#M252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Failing that, I would remove all the set filters and start with the basic expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=If(GetFieldSelections(OrdItemInsDt) &amp;gt; 0, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Sum(If(OrdItemDelDate &amp;lt;&amp;gt; OrdMasterOrdDate, OrdItemOrdKgs))/1000, &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; Sum(If(OrdItemDelDate &amp;lt;&amp;gt; OrdMasterOrdDate, OrdItemOrdKgs))/1000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the result and validate against your data model. Then add the set expression filters one at a time (except for the OrdItemInsDt, OrdItemInsDtWeek. If the result goes to zero, then you have no results matching all those conditions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 11:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Analysis-for-different-types-of-selections/m-p/3571#M252</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-19T11:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: Analysis for different types of selections</title>
      <link>https://community.qlik.com/t5/App-Development/Analysis-for-different-types-of-selections/m-p/3572#M253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You Jonathan!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is working better with your help. Now, the only issue is that i can't select more than one OrdItemInsDt... but I think is due to the data model!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 12:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Analysis-for-different-types-of-selections/m-p/3572#M253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-19T12:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Analysis for different types of selections</title>
      <link>https://community.qlik.com/t5/App-Development/Analysis-for-different-types-of-selections/m-p/3573#M254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think if you remove the condition &lt;EM&gt;"&lt;SPAN style="color: #3d3d3d; font-family: Calibri; font-size: 14.6667px;"&gt;OrdItemInsDt={$(=GetFieldSelections(OrdItemInsDt))}&lt;/SPAN&gt;",&lt;/EM&gt; from the first expression then it will probably work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 13:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Analysis-for-different-types-of-selections/m-p/3573#M254</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-01-19T13:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Analysis for different types of selections</title>
      <link>https://community.qlik.com/t5/App-Development/Analysis-for-different-types-of-selections/m-p/3574#M255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're right! It's working! Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 14:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Analysis-for-different-types-of-selections/m-p/3574#M255</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-19T14:41:29Z</dc:date>
    </item>
  </channel>
</rss>

