<?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: Evaluating Expression on one field selection in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Evaluating-Expression-on-one-field-selection/m-p/2049379#M1534</link>
    <description>&lt;P&gt;You need to consider which kind of analysis you for which view want - and what this means to the kind of data-model and UI navigation.&lt;/P&gt;
&lt;P&gt;For me it looked as if you have just one date-field and you want to display results between one field-value and another field-value. The simplest way to get such view is just to select all (date) values and the expression would be a simple: sum(Sales). In many scenarios this is quite simple and needs just a few clicks - at first on&amp;nbsp; relating year/quarter/month which reduced the amount of possible dates and (usually) adjust the list-box orders. Also possible and not much difficult would be just to use a search on the field with something:&lt;/P&gt;
&lt;P&gt;&amp;gt;=date-value1&amp;lt;=date-value2&lt;/P&gt;
&lt;P&gt;Beside this a lot of the often queried YTD, MTD, ... the ones from the previous years and many more selections could be simplified with appropriate flags within the master-calendar and/or with an as-of-table.&lt;/P&gt;
&lt;P&gt;This means the use of multiple date-fields is not mandatory necessary. Nevertheless is such usability quite common and often implemented per extra variables or like above hinted with date-fields from island-tables. And only with this it would be possible to query independent selections and/or to implement a &amp;gt;= &amp;lt;= logic between them. IMO you should have very good reasons to go in this direction because the above shown selection-approach is more natively and also easier within the development as well as within the user-experience.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2023 08:33:50 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2023-03-15T08:33:50Z</dc:date>
    <item>
      <title>Evaluating Expression on one field selection</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Evaluating-Expression-on-one-field-selection/m-p/2049031#M1524</link>
      <description>&lt;P&gt;Hello Experts,&lt;/P&gt;
&lt;P&gt;I have a requirement, where I have data as Date1, Date2,Sales. In front end I have filter as Date1 but I want if user select Date1 dates, sum of sales get evaluated for date2 = date selected date 1, P function I already tried and this is not working in this scenario as I want to calculate sum({&amp;lt;Date1 selected values = Date2 values&amp;gt;}sale).&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;Ferha&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 13:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Evaluating-Expression-on-one-field-selection/m-p/2049031#M1524</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2023-03-14T13:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating Expression on one field selection</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Evaluating-Expression-on-one-field-selection/m-p/2049129#M1526</link>
      <description>&lt;P&gt;You mean something like?&lt;/P&gt;
&lt;P&gt;sum({&amp;lt; FactCalendarDate = p(IslandDate)&amp;gt;} Sales)&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 16:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Evaluating-Expression-on-one-field-selection/m-p/2049129#M1526</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-03-14T16:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating Expression on one field selection</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Evaluating-Expression-on-one-field-selection/m-p/2049139#M1527</link>
      <description>&lt;P&gt;I thought it will work in that way but it is not giving the desired result. As an eg. if Date1 is 1 Nov 2022, Date2 is 2 Dec 2022, Sale is 200&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Date1 is 2 Nov 2022, Date2 is 1 Nov 2022, Sale is 500&lt;/P&gt;
&lt;P&gt;In front if I select Date1 as 1 Nov 2022 then sum of sales should come out as 500 not 200.&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 16:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Evaluating-Expression-on-one-field-selection/m-p/2049139#M1527</guid>
      <dc:creator>ferha_jafri</dc:creator>
      <dc:date>2023-03-14T16:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluating Expression on one field selection</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Evaluating-Expression-on-one-field-selection/m-p/2049379#M1534</link>
      <description>&lt;P&gt;You need to consider which kind of analysis you for which view want - and what this means to the kind of data-model and UI navigation.&lt;/P&gt;
&lt;P&gt;For me it looked as if you have just one date-field and you want to display results between one field-value and another field-value. The simplest way to get such view is just to select all (date) values and the expression would be a simple: sum(Sales). In many scenarios this is quite simple and needs just a few clicks - at first on&amp;nbsp; relating year/quarter/month which reduced the amount of possible dates and (usually) adjust the list-box orders. Also possible and not much difficult would be just to use a search on the field with something:&lt;/P&gt;
&lt;P&gt;&amp;gt;=date-value1&amp;lt;=date-value2&lt;/P&gt;
&lt;P&gt;Beside this a lot of the often queried YTD, MTD, ... the ones from the previous years and many more selections could be simplified with appropriate flags within the master-calendar and/or with an as-of-table.&lt;/P&gt;
&lt;P&gt;This means the use of multiple date-fields is not mandatory necessary. Nevertheless is such usability quite common and often implemented per extra variables or like above hinted with date-fields from island-tables. And only with this it would be possible to query independent selections and/or to implement a &amp;gt;= &amp;lt;= logic between them. IMO you should have very good reasons to go in this direction because the above shown selection-approach is more natively and also easier within the development as well as within the user-experience.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 08:33:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Evaluating-Expression-on-one-field-selection/m-p/2049379#M1534</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-03-15T08:33:50Z</dc:date>
    </item>
  </channel>
</rss>

