<?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: Set Analysis : getfieldselections with date -1 in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1628976#M46812</link>
    <description>&lt;P&gt;getfieldselections return string&lt;/P&gt;&lt;P&gt;you need convert it to date, for example date#(&lt;SPAN&gt;GetFieldSelections(MasterCal.Day),'mm/dd/yyyy')&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;format should be what your actual date format is&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2019 10:21:28 GMT</pubDate>
    <dc:creator>asinha1991</dc:creator>
    <dc:date>2019-09-27T10:21:28Z</dc:date>
    <item>
      <title>Set Analysis : getfieldselections with date -1</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1628955#M46806</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to get&amp;nbsp;set analsyis to give me the day before selected day by user.&lt;/P&gt;&lt;P&gt;I tried this but it doesn't work...&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;MasterCal.Day={"=$(=GetFieldSelections(MasterCal.Day))-1"}&amp;gt;} sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can any one fix this please.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1628955#M46806</guid>
      <dc:creator>sass</dc:creator>
      <dc:date>2024-11-16T04:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis : getfieldselections with date -1</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1628976#M46812</link>
      <description>&lt;P&gt;getfieldselections return string&lt;/P&gt;&lt;P&gt;you need convert it to date, for example date#(&lt;SPAN&gt;GetFieldSelections(MasterCal.Day),'mm/dd/yyyy')&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;format should be what your actual date format is&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 10:21:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1628976#M46812</guid>
      <dc:creator>asinha1991</dc:creator>
      <dc:date>2019-09-27T10:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis : getfieldselections with date -1</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1628991#M46817</link>
      <description>&lt;P&gt;Thanks for the suggestion !&lt;/P&gt;&lt;P&gt;I have tried this :&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[MasterCal.Day]={"=$(=date#(GetFieldSelections([MasterCal.Day]),'mm/dd/yyyy')"}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;But it doesnt work...&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 10:44:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1628991#M46817</guid>
      <dc:creator>sass</dc:creator>
      <dc:date>2019-09-27T10:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis : getfieldselections with date -1</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1628992#M46818</link>
      <description>&lt;P&gt;can you try this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;date#(GetFieldSelections([MasterCal.Day]),'mm/dd/yyyy'&lt;FONT color="#007600"&gt;) in a textbox and see what it returns?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;FONT color="#007600"&gt;maybe &amp;nbsp;&lt;SPAN&gt;GetFieldSelections([MasterCal.Day])&lt;/SPAN&gt; returns a date which is not in&amp;nbsp;&lt;SPAN&gt;'mm/dd/yyyy'&lt;/SPAN&gt; format?&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 10:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1628992#M46818</guid>
      <dc:creator>asinha1991</dc:creator>
      <dc:date>2019-09-27T10:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis : getfieldselections with date -1</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1628993#M46819</link>
      <description>&lt;P&gt;&lt;SPAN&gt;date#(GetFieldSelections([MasterCal.Day]),'mm/dd/yyyy'&lt;/SPAN&gt;&lt;FONT color="#007600"&gt;)&lt;SPAN&gt;&amp;nbsp;in a textbox return a correct date...&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 10:52:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1628993#M46819</guid>
      <dc:creator>sass</dc:creator>
      <dc:date>2019-09-27T10:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis : getfieldselections with date -1</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1629052#M46823</link>
      <description>&lt;P&gt;need to see whats wrong with set analysis then but you can give this a try in the mean time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[MasterCal.Day]=}&amp;gt;} if(&lt;SPAN&gt;{MasterCal.Day=date#(GetFieldSelections([MasterCal.Day]),'mm/dd/yyyy')-1,&lt;/SPAN&gt;sales))&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 12:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1629052#M46823</guid>
      <dc:creator>asinha1991</dc:creator>
      <dc:date>2019-09-27T12:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis : getfieldselections with date -1</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1629436#M46863</link>
      <description>&lt;P&gt;Doesn't work...&lt;/P&gt;&lt;P&gt;When I try this it works :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[MasterCal.Day]={'$(=GetFieldSelections([MasterCal.Day]))'}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;[MasterCal.Day]={'$(=max([MasterCal.Day]))'}&amp;gt;} sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I want to add -1, it doesn't work...&lt;/P&gt;&lt;P&gt;If anyone has a solution....&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 08:31:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-getfieldselections-with-date-1/m-p/1629436#M46863</guid>
      <dc:creator>sass</dc:creator>
      <dc:date>2019-09-30T08:31:00Z</dc:date>
    </item>
  </channel>
</rss>

