<?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: How to used variable in set statement in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1845478#M69946</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/114630"&gt;@Sagar082&lt;/a&gt;&amp;nbsp;vtime_n is a variable that you want to use in your set analysis? If that's the case, please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count({$&amp;lt;in_start = {$(vtime_n)}&amp;gt;} flp_id)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eli.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Oct 2021 11:19:04 GMT</pubDate>
    <dc:creator>EliGohar</dc:creator>
    <dc:date>2021-10-12T11:19:04Z</dc:date>
    <item>
      <title>How to used variable in set statement</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1845443#M69943</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;Greeting for the day. I am using below set expression, but not getting out.&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;in_start = {vtime_n}&amp;gt;} flp_id)&lt;/P&gt;&lt;P&gt;But if I replace above statement with below,&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;in_start = {15}&amp;gt;} flp_id)&lt;/P&gt;&lt;P&gt;It is working.&lt;/P&gt;&lt;P&gt;Where, in_start is an integer.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 10:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1845443#M69943</guid>
      <dc:creator>Sagar082</dc:creator>
      <dc:date>2021-10-12T10:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to used variable in set statement</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1845478#M69946</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/114630"&gt;@Sagar082&lt;/a&gt;&amp;nbsp;vtime_n is a variable that you want to use in your set analysis? If that's the case, please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count({$&amp;lt;in_start = {$(vtime_n)}&amp;gt;} flp_id)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eli.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Oct 2021 11:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1845478#M69946</guid>
      <dc:creator>EliGohar</dc:creator>
      <dc:date>2021-10-12T11:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to used variable in set statement</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1845906#M69974</link>
      <description>&lt;P&gt;Hi Eli,&lt;/P&gt;&lt;P&gt;Greeting for the day. Yes, your solution indeed worked.&lt;/P&gt;&lt;P&gt;I need more assistance, I hope you don't mind.&lt;/P&gt;&lt;P&gt;In the above set statement should be little modify to consider another variable to,&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;in_start = {$(vtime_n)}&amp;gt;+&amp;lt;{$&amp;lt;in_start = {$(vtime_n_1)}&amp;gt;flp_id)&lt;/P&gt;&lt;P&gt;Where, vtime_n_1 is another variable which store value, (vtime_n)-1&lt;/P&gt;&lt;P&gt;I would like to know,&lt;/P&gt;&lt;P&gt;1. How to store the value of vtime_n-1 in variable? Am I using correct definition?&lt;/P&gt;&lt;P&gt;2. How I can incorporate in the set statement either as variable or directly like, $(vtime_n)-1, but it is not working.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 05:17:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1845906#M69974</guid>
      <dc:creator>Sagar082</dc:creator>
      <dc:date>2021-10-13T05:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to used variable in set statement</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1845951#M69977</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/114630"&gt;@Sagar082&lt;/a&gt;&amp;nbsp;Please explain - It means you want to check that:&lt;/P&gt;&lt;P&gt;in_start field is equal to&amp;nbsp;&lt;SPAN&gt;vtime_n (variable) &lt;STRONG&gt;OR&amp;nbsp;&lt;/STRONG&gt;vtime_n_1 (variable)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regarding your question about how to store the value in vtime_n_1 var, Try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$(vtime_n)-1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eli.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 07:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1845951#M69977</guid>
      <dc:creator>EliGohar</dc:creator>
      <dc:date>2021-10-13T07:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to used variable in set statement</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1845998#M69981</link>
      <description>&lt;P&gt;Hi Eli,&lt;/P&gt;&lt;P&gt;Greeting for the day. The in_start filed should have value between vtime_n and vtime_n_1, both inclusive.&lt;/P&gt;&lt;P&gt;For e.g. if user select hour 15, then the incidence occurring during 14-15 hrs. Should reflect.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 08:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1845998#M69981</guid>
      <dc:creator>Sagar082</dc:creator>
      <dc:date>2021-10-13T08:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to used variable in set statement</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1846019#M69983</link>
      <description>&lt;P&gt;Please try this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count({$&amp;lt;[in_start] = {"&amp;gt;=$(vtime_n_1)&amp;lt;=$(vtime_n)"}&amp;gt;} flp_id)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 08:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1846019#M69983</guid>
      <dc:creator>EliGohar</dc:creator>
      <dc:date>2021-10-13T08:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to used variable in set statement</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1846048#M69986</link>
      <description>&lt;P&gt;Hi, it is not working. I believe it is creating string whereas in_start is integer.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 09:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-used-variable-in-set-statement/m-p/1846048#M69986</guid>
      <dc:creator>Sagar082</dc:creator>
      <dc:date>2021-10-13T09:36:42Z</dc:date>
    </item>
  </channel>
</rss>

