<?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 using date range and Date field as dimension in range selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1695702#M53202</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have tried the expression shared by you, but hard luck. Also, I have created a TEST SAMPLE application, where two Date fields are used. In the front end without selection, the expression evaluates like this&amp;nbsp; attached (Image 1)&lt;/P&gt;&lt;P&gt;But on the selection of Date1 field, the expression evaluates like this attached (Image 2)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly suggest on this,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2020 11:29:22 GMT</pubDate>
    <dc:creator>shama_deshpande1</dc:creator>
    <dc:date>2020-04-22T11:29:22Z</dc:date>
    <item>
      <title>Set analysis using date range and Date field as dimension in range selection</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1695573#M53186</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have an application where I have two date fields, i.e the &lt;STRONG&gt;Calendar Date&lt;/STRONG&gt; field (which is in one table) and &lt;STRONG&gt;Date1&lt;/STRONG&gt; field (which is in another table). Further, I have associated these Date fields present in different tables with one common&lt;STRONG&gt; Key&lt;/STRONG&gt; field. Now I need to calculate sum(&lt;STRONG&gt;Sales&lt;/STRONG&gt;), which is present in the first table (i.e &lt;STRONG&gt;Sales&lt;/STRONG&gt; field) by using&amp;nbsp; Set Analysis by defining the range of these two date fields.&amp;nbsp; I am using the expression :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;[Calendar Date]={"&amp;gt;=01/01/2019&amp;lt;=$(=[Date1])"}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here, the first value in date range is fixed (i.e &lt;STRONG&gt;01/01/2019&lt;/STRONG&gt;) and the other is used as Dimension as &lt;STRONG&gt;Date1&lt;/STRONG&gt; field. I want to use Dimension i.e(&lt;STRONG&gt;Date1&lt;/STRONG&gt;) in range as a dynamic field, but I am unable to do so.&lt;/P&gt;&lt;P&gt;I have taken a table in the front end taking &lt;STRONG&gt;Date1&lt;/STRONG&gt;, &lt;STRONG&gt;Key&lt;/STRONG&gt;, &lt;STRONG&gt;Sales&lt;/STRONG&gt; fields, but only on the selection of &lt;STRONG&gt;Date1&lt;/STRONG&gt; field in the front end, the value of sum(&lt;STRONG&gt;Sales&lt;/STRONG&gt;) comes correct. But if I select &lt;STRONG&gt;Key&lt;/STRONG&gt; field, the value comes out to be incorrect.&lt;/P&gt;&lt;P&gt;The above expression evaluates to&amp;nbsp;&lt;STRONG&gt;sum({&amp;lt;[Calendar Date]={"&amp;gt;=01/01/2019&amp;lt;=$(=-"}&amp;gt;} Sales)&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;when selection is not there or when &lt;STRONG&gt;Key&lt;/STRONG&gt; field is selected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help with this!&lt;/P&gt;&lt;P&gt;Thankyou,&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22245"&gt;@swuehl&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:08:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1695573#M53186</guid>
      <dc:creator>shama_deshpande1</dc:creator>
      <dc:date>2021-12-20T21:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis using date range and Date field as dimension in range selection</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1695582#M53188</link>
      <description>&lt;P&gt;When you don't select a date value or select key field it generates null in set analysis range because, one value is expected for it and there are multiple values. Though not entirely sure about your requirement, you can give a try like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Calendar Date]={"&amp;gt;=01/01/2019"}&lt;STRONG&gt;&amp;gt;*&amp;lt;[Calendar Date]={"=[Calendar Date]&amp;lt;=[Date1]"}&amp;gt;&lt;/STRONG&gt;} Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, try to share a sample app explaining the output and it's format in that context.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 08:44:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1695582#M53188</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2020-04-22T08:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis using date range and Date field as dimension in range selection</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1695686#M53200</link>
      <description>&lt;P&gt;may be like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Calendar Date]={"&amp;gt;=01/01/2019&amp;lt;=$(=getfieldselection([Date1]))"}&amp;gt;} Sales)&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 11:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1695686#M53200</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2020-04-22T11:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis using date range and Date field as dimension in range selection</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1695702#M53202</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have tried the expression shared by you, but hard luck. Also, I have created a TEST SAMPLE application, where two Date fields are used. In the front end without selection, the expression evaluates like this&amp;nbsp; attached (Image 1)&lt;/P&gt;&lt;P&gt;But on the selection of Date1 field, the expression evaluates like this attached (Image 2)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly suggest on this,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 11:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1695702#M53202</guid>
      <dc:creator>shama_deshpande1</dc:creator>
      <dc:date>2020-04-22T11:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis using date range and Date field as dimension in range selection</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1695703#M53203</link>
      <description />
      <pubDate>Wed, 22 Apr 2020 11:30:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1695703#M53203</guid>
      <dc:creator>shama_deshpande1</dc:creator>
      <dc:date>2020-04-22T11:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis using date range and Date field as dimension in range selection</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1695705#M53204</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6006"&gt;@BalaBhaskar_Qlik&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I tried using this expression shared by you, but did not show the output.&lt;/P&gt;&lt;P&gt;Thankyou&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 11:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1695705#M53204</guid>
      <dc:creator>shama_deshpande1</dc:creator>
      <dc:date>2020-04-22T11:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis using date range and Date field as dimension in range selection</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1948140#M78144</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-Qlik-Sense/variable-input-date-range/m-p/1948139" target="_blank"&gt;https://community.qlik.com/t5/New-to-Qlik-Sense/variable-input-date-range/m-p/1948139&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jun 2022 04:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/1948140#M78144</guid>
      <dc:creator>afshan</dc:creator>
      <dc:date>2022-06-25T04:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis using date range and Date field as dimension in range selection</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/2115984#M91057</link>
      <description>&lt;P&gt;Anyone got a way to achieve this? or is it not possible in the front end?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 12:20:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-using-date-range-and-Date-field-as-dimension-in/m-p/2115984#M91057</guid>
      <dc:creator>HeshamKhja1</dc:creator>
      <dc:date>2023-09-12T12:20:29Z</dc:date>
    </item>
  </channel>
</rss>

