<?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 Date range from mashup to expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-range-from-mashup-to-expression/m-p/1669825#M50586</link>
    <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;I am trying to pass date values&amp;nbsp; from mashup to variables in order to use them as a date range filter in a set analysis expression.&lt;/P&gt;&lt;P&gt;In the mashup i have&lt;BR /&gt;app.variable.setStringValue("vSTARTDATE", "2015-01-01");&lt;BR /&gt;app.variable.setStringValue("vENDDATE", "2015-01-31");&lt;/P&gt;&lt;P&gt;And in the set analysis expression I have the following to count the reviews in the date range&lt;/P&gt;&lt;P&gt;Count(distinct{&amp;lt;review_date={"&amp;gt;=$(=$(vSTARTDATE))&amp;lt;=$(=$(vENDDATE))"}&amp;gt;}[review_id])&lt;/P&gt;&lt;P&gt;The above does not work and I cannot figure out why.&lt;/P&gt;&lt;P&gt;Any help is welcome&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:26:37 GMT</pubDate>
    <dc:creator>pdimiel</dc:creator>
    <dc:date>2024-11-16T03:26:37Z</dc:date>
    <item>
      <title>Date range from mashup to expression</title>
      <link>https://community.qlik.com/t5/App-Development/Date-range-from-mashup-to-expression/m-p/1669825#M50586</link>
      <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;I am trying to pass date values&amp;nbsp; from mashup to variables in order to use them as a date range filter in a set analysis expression.&lt;/P&gt;&lt;P&gt;In the mashup i have&lt;BR /&gt;app.variable.setStringValue("vSTARTDATE", "2015-01-01");&lt;BR /&gt;app.variable.setStringValue("vENDDATE", "2015-01-31");&lt;/P&gt;&lt;P&gt;And in the set analysis expression I have the following to count the reviews in the date range&lt;/P&gt;&lt;P&gt;Count(distinct{&amp;lt;review_date={"&amp;gt;=$(=$(vSTARTDATE))&amp;lt;=$(=$(vENDDATE))"}&amp;gt;}[review_id])&lt;/P&gt;&lt;P&gt;The above does not work and I cannot figure out why.&lt;/P&gt;&lt;P&gt;Any help is welcome&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-range-from-mashup-to-expression/m-p/1669825#M50586</guid>
      <dc:creator>pdimiel</dc:creator>
      <dc:date>2024-11-16T03:26:37Z</dc:date>
    </item>
  </channel>
</rss>

