<?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 Error while using only function in expression editor in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Error-while-using-only-function-in-expression-editor/m-p/1852962#M70437</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I want to list all the ids within the range of start date and end date, but am getting error like "Invalid Dimension"&amp;nbsp; if I use the below query in expression editor. Here vStartDate and vEndDate are input variables.&amp;nbsp; Whats wrong&amp;nbsp; am doing here&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;only({(&amp;lt;[Start Date] = {"&amp;gt;=$(vStartDate)"}&amp;gt; * &amp;lt;[Start Date] = {"&amp;lt;=$(vEndDate)"}&amp;gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;+ (&amp;lt;[End Date] = {"&amp;gt;=$(vStartDate)"}&amp;gt; * &amp;lt;[End Date] = {"&amp;lt;=$(vEndDate)"}&amp;gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;+ (&amp;lt;[Start Date] = {"&amp;gt;=$(vStartDate)"}&amp;gt; * &amp;lt;[End Date] = {"&amp;lt;=$(vEndDate)"}&amp;gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}ID)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 09:30:05 GMT</pubDate>
    <dc:creator>ChethanKumar</dc:creator>
    <dc:date>2021-10-28T09:30:05Z</dc:date>
    <item>
      <title>Error while using only function in expression editor</title>
      <link>https://community.qlik.com/t5/App-Development/Error-while-using-only-function-in-expression-editor/m-p/1852962#M70437</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I want to list all the ids within the range of start date and end date, but am getting error like "Invalid Dimension"&amp;nbsp; if I use the below query in expression editor. Here vStartDate and vEndDate are input variables.&amp;nbsp; Whats wrong&amp;nbsp; am doing here&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;only({(&amp;lt;[Start Date] = {"&amp;gt;=$(vStartDate)"}&amp;gt; * &amp;lt;[Start Date] = {"&amp;lt;=$(vEndDate)"}&amp;gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;+ (&amp;lt;[End Date] = {"&amp;gt;=$(vStartDate)"}&amp;gt; * &amp;lt;[End Date] = {"&amp;lt;=$(vEndDate)"}&amp;gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;+ (&amp;lt;[Start Date] = {"&amp;gt;=$(vStartDate)"}&amp;gt; * &amp;lt;[End Date] = {"&amp;lt;=$(vEndDate)"}&amp;gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}ID)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 09:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-while-using-only-function-in-expression-editor/m-p/1852962#M70437</guid>
      <dc:creator>ChethanKumar</dc:creator>
      <dc:date>2021-10-28T09:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using only function in expression editor</title>
      <link>https://community.qlik.com/t5/App-Development/Error-while-using-only-function-in-expression-editor/m-p/1852975#M70438</link>
      <description>&lt;P&gt;This formula should be used in an expression, not a dimension, in which case it will work correctly. If you need it to be a dimension, you'll have to wrap it in an aggr() for a context in which to evaluate it.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;aggr(only({(&amp;lt;[Start Date] = {"&amp;gt;=$(vStartDate)"}&amp;gt; * &amp;lt;[Start Date] = {"&amp;lt;=$(vEndDate)"}&amp;gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;+ (&amp;lt;[End Date] = {"&amp;gt;=$(vStartDate)"}&amp;gt; * &amp;lt;[End Date] = {"&amp;lt;=$(vEndDate)"}&amp;gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;+ (&amp;lt;[Start Date] = {"&amp;gt;=$(vStartDate)"}&amp;gt; * &amp;lt;[End Date] = {"&amp;lt;=$(vEndDate)"}&amp;gt;)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;}ID),ID)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 09:43:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-while-using-only-function-in-expression-editor/m-p/1852975#M70438</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-10-28T09:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using only function in expression editor</title>
      <link>https://community.qlik.com/t5/App-Development/Error-while-using-only-function-in-expression-editor/m-p/1853101#M70446</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp; but the data is not within the given date range. Any idea&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 12:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-while-using-only-function-in-expression-editor/m-p/1853101#M70446</guid>
      <dc:creator>ChethanKumar</dc:creator>
      <dc:date>2021-10-28T12:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using only function in expression editor</title>
      <link>https://community.qlik.com/t5/App-Development/Error-while-using-only-function-in-expression-editor/m-p/1853116#M70448</link>
      <description>&lt;P&gt;I don't have your data, so I can't test it. It worked fine with sample data I generated...&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 13:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-while-using-only-function-in-expression-editor/m-p/1853116#M70448</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2021-10-28T13:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using only function in expression editor</title>
      <link>https://community.qlik.com/t5/App-Development/Error-while-using-only-function-in-expression-editor/m-p/1853143#M70449</link>
      <description>&lt;P&gt;Here each ID can have different set of start date , end date and ProjectID. I need to list only the IDs&amp;nbsp; , start date and end date, within any of the given range of&amp;nbsp; start date (1-10-2021) to end date (31-10-2021).&amp;nbsp; For example startDate &amp;gt; 1-10-2021 or endDate &amp;lt; 31-10-2021 or in between startDate &amp;gt; 1-10-2021 and endDate &amp;lt; 31-10-2021&lt;/P&gt;
&lt;P&gt;Any suggestion&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Am getting this below data list&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 173pt;" width="230"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="20" height="20" class="xl66" style="width: 15pt; height: 15.0pt;"&gt;ID&lt;/TD&gt;
&lt;TD width="73" class="xl66" style="width: 55pt;"&gt;Start Date&lt;/TD&gt;
&lt;TD width="73" class="xl66" style="width: 55pt;"&gt;End Date&lt;/TD&gt;
&lt;TD width="64" class="xl66" style="width: 48pt;"&gt;ProjectID&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl68" style="height: 15.0pt;"&gt;1&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;01-07-2020&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;31-12-2022&lt;/TD&gt;
&lt;TD class="xl68"&gt;P1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl68" style="height: 15.0pt;"&gt;1&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;01-07-2021&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;31-08-2021&lt;/TD&gt;
&lt;TD class="xl68"&gt;P2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl68" style="height: 15.0pt;"&gt;2&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;01-07-2021&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;31-12-2021&lt;/TD&gt;
&lt;TD class="xl68"&gt;P3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl68" style="height: 15.0pt;"&gt;2&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;02-08-2021&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;07-08-2021&lt;/TD&gt;
&lt;TD class="xl68"&gt;P4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl68" style="height: 15.0pt;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;01-05-2021&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;31-12-2021&lt;/TD&gt;
&lt;TD class="xl68"&gt;P5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl68" style="height: 15.0pt;"&gt;3&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;01-08-2021&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;31-08-2021&lt;/TD&gt;
&lt;TD class="xl68"&gt;P6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl68" style="height: 15.0pt;"&gt;4&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;31-03-2021&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;31-12-9999&lt;/TD&gt;
&lt;TD class="xl68"&gt;P7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl68" style="height: 15.0pt;"&gt;4&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;01-08-2021&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;31-08-2021&lt;/TD&gt;
&lt;TD class="xl68"&gt;P8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl68" style="height: 15.0pt;"&gt;5&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;01-02-2021&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;30-09-2021&lt;/TD&gt;
&lt;TD class="xl68"&gt;P9&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl68" style="height: 15.0pt;"&gt;5&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;01-06-2021&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;31-12-2021&lt;/TD&gt;
&lt;TD class="xl68"&gt;P10&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD height="20" align="right" class="xl68" style="height: 15.0pt;"&gt;5&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;02-08-2021&lt;/TD&gt;
&lt;TD align="right" class="xl68"&gt;07-08-2021&lt;/TD&gt;
&lt;TD class="xl68"&gt;P11&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Thu, 28 Oct 2021 13:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-while-using-only-function-in-expression-editor/m-p/1853143#M70449</guid>
      <dc:creator>ChethanKumar</dc:creator>
      <dc:date>2021-10-28T13:42:46Z</dc:date>
    </item>
  </channel>
</rss>

