<?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 add number (variable) along with two different dates in count expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-add-number-variable-along-with-two-different-dates-in/m-p/1584165#M740707</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would pull out the calculated date into another variable, just so I could see better what was going on, then use;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;EmpJoinDate = {"&amp;gt;=$(=vCalDate)&amp;lt;=$(=vEndDate)"}&amp;gt;}EmpJoinDate)&lt;/P&gt;&lt;P&gt;Which looks like it works;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190523_1.png" style="width: 716px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12578i132FB30ABB60F943/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190523_1.png" alt="20190523_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2019 19:53:03 GMT</pubDate>
    <dc:creator>chrismarlow</dc:creator>
    <dc:date>2019-05-23T19:53:03Z</dc:date>
    <item>
      <title>How to add number (variable) along with two different dates in count expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-number-variable-along-with-two-different-dates-in/m-p/1583891#M740706</link>
      <description>&lt;P&gt;How to add number (variable) along with two different dates in count expression.&lt;/P&gt;&lt;P&gt;number variable is dynamic value. it may be 1 to 100 (i.e) 1 to 100 days.&lt;/P&gt;&lt;P&gt;vVariableDays ==&amp;gt; 1 to 100 (days)&lt;/P&gt;&lt;P&gt;if user enter some values, for example "20" then it will add from &amp;gt;=vCalDate&amp;nbsp; &amp;amp; &amp;lt;=vToday + 20 days.&lt;/P&gt;&lt;P&gt;below is my count expression.&lt;/P&gt;&lt;P&gt;=Count({&amp;lt;EmpJoinDate = {"$(='&amp;gt;=' &amp;amp; vCalDate &amp;amp; '&amp;lt;=' &amp;amp; vToday) &amp;amp; '+' &amp;amp; vVariableDays"}&amp;gt;}EmpJoinDate)&lt;/P&gt;&lt;P&gt;The above expression will not give proper count.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to convert number to days&amp;nbsp;along with two different dates in count expression...?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-number-variable-along-with-two-different-dates-in/m-p/1583891#M740706</guid>
      <dc:creator>saivina2920</dc:creator>
      <dc:date>2024-11-16T03:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to add number (variable) along with two different dates in count expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-number-variable-along-with-two-different-dates-in/m-p/1584165#M740707</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would pull out the calculated date into another variable, just so I could see better what was going on, then use;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;EmpJoinDate = {"&amp;gt;=$(=vCalDate)&amp;lt;=$(=vEndDate)"}&amp;gt;}EmpJoinDate)&lt;/P&gt;&lt;P&gt;Which looks like it works;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190523_1.png" style="width: 716px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12578i132FB30ABB60F943/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190523_1.png" alt="20190523_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 19:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-number-variable-along-with-two-different-dates-in/m-p/1584165#M740707</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-05-23T19:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to add number (variable) along with two different dates in count expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-number-variable-along-with-two-different-dates-in/m-p/1584236#M740708</link>
      <description>&lt;P&gt;can you pls. share the .qvw files for reference...?&lt;/P&gt;&lt;P&gt;I am using variables in two places.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. TextBox and 2. Pie Chart.&lt;/P&gt;&lt;P&gt;1. In the text box, It will show only year, not exact count ==&amp;gt; not working&lt;/P&gt;&lt;P&gt;2. In the Pie chart, i already define the two days. along with i want to pass the variables. (variable already formatted as you given).&lt;/P&gt;&lt;P&gt;How to solve this..?&lt;/P&gt;&lt;P&gt;Herewith i have attached with formula with corresponding fields screenshot and .qvw Files&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 09:35:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-number-variable-along-with-two-different-dates-in/m-p/1584236#M740708</guid>
      <dc:creator>saivina2920</dc:creator>
      <dc:date>2019-05-24T09:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to add number (variable) along with two different dates in count expression</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-number-variable-along-with-two-different-dates-in/m-p/1586405#M740709</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I only have personal edition so I can't open your QVW.&lt;/P&gt;&lt;P&gt;Looking at your screenshots&lt;/P&gt;&lt;P&gt;1) In the text box you don't need $() around the variable - just put =vFinalCountDate&lt;/P&gt;&lt;P&gt;2) I don't understand what you want to show on the pie chart - the count of 2 equals the total on the chart just above - do you want to show # for each of the 2 days 22/5 &amp;amp; 23/5? In which case add NewDate as a dimension?&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 19:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-number-variable-along-with-two-different-dates-in/m-p/1586405#M740709</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-05-29T19:41:21Z</dc:date>
    </item>
  </channel>
</rss>

