<?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: Set Expression for Monthyear conditions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1976845#M80591</link>
    <description>&lt;P&gt;Hi MendyS&lt;/P&gt;
&lt;P&gt;Thank you for the reply&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume varofcreate data and Varofclose date is variables.&lt;/P&gt;
&lt;P&gt;yes I tried it and created KPI and it worked. By using variable input I can change the month in the variables accordingly the count is coming correct.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;l need the same output for a line chart where monthyear is &amp;nbsp;dimension.&amp;nbsp;&lt;BR /&gt;if i used above expression as measure the output showing &amp;nbsp;as 0&lt;/P&gt;
&lt;P&gt;Can you help how to write it in charts&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Mon, 05 Sep 2022 09:37:23 GMT</pubDate>
    <dc:creator>Prasad1318</dc:creator>
    <dc:date>2022-09-05T09:37:23Z</dc:date>
    <item>
      <title>Set Expression for Monthyear conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1976787#M80588</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have a problem in creating line chart.&lt;/P&gt;
&lt;P&gt;I am having following fields&lt;/P&gt;
&lt;P&gt;1. Date Created, closure Date, type&lt;/P&gt;
&lt;P&gt;For eg if I need to calculate count of open type &amp;nbsp;based on conditions for month of june&lt;/P&gt;
&lt;P&gt;1. type = open&lt;/P&gt;
&lt;P&gt;2. date created &amp;lt;= monthend(june) - 30/06/2022of that particular month&lt;/P&gt;
&lt;P&gt;3. Closure date &amp;gt; monthend() - 30/06/2022&lt;/P&gt;
&lt;P&gt;The &amp;nbsp;conditions should get updated based on every month.&lt;/P&gt;
&lt;P&gt;I tried building KPI and I achieved it with variable by using variable input.&lt;/P&gt;
&lt;P&gt;How can i achieve it in the line chart.&lt;/P&gt;
&lt;P&gt;can anybody please help me on this&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;#set expression&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 07:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1976787#M80588</guid>
      <dc:creator>Prasad1318</dc:creator>
      <dc:date>2022-09-05T07:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression for Monthyear conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1976798#M80589</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;try something like&amp;nbsp; -&amp;nbsp;&lt;BR /&gt;&amp;nbsp;Count({&amp;lt;Type= {'Open'}, CreateDate={&lt;SPAN&gt;"&amp;gt;=$ ('VarOfCreateDate')"&lt;/SPAN&gt;},CloseDate={&lt;SPAN&gt;"&amp;gt;=$ ('VarOfCloseDate')"&lt;/SPAN&gt;}&amp;gt;} YourMeasure )&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 08:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1976798#M80589</guid>
      <dc:creator>MendyS</dc:creator>
      <dc:date>2022-09-05T08:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression for Monthyear conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1976845#M80591</link>
      <description>&lt;P&gt;Hi MendyS&lt;/P&gt;
&lt;P&gt;Thank you for the reply&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume varofcreate data and Varofclose date is variables.&lt;/P&gt;
&lt;P&gt;yes I tried it and created KPI and it worked. By using variable input I can change the month in the variables accordingly the count is coming correct.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;l need the same output for a line chart where monthyear is &amp;nbsp;dimension.&amp;nbsp;&lt;BR /&gt;if i used above expression as measure the output showing &amp;nbsp;as 0&lt;/P&gt;
&lt;P&gt;Can you help how to write it in charts&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 09:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1976845#M80591</guid>
      <dc:creator>Prasad1318</dc:creator>
      <dc:date>2022-09-05T09:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression for Monthyear conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1976862#M80593</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/180523"&gt;@Prasad1318&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you need to decide if you want to connect the&amp;nbsp;field 'MonthYear'&amp;nbsp; to&amp;nbsp;the&amp;nbsp;&lt;SPAN&gt;date created&amp;nbsp;&lt;/SPAN&gt; or&amp;nbsp;the&amp;nbsp;&lt;SPAN&gt;Closure date&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 10:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1976862#M80593</guid>
      <dc:creator>MendyS</dc:creator>
      <dc:date>2022-09-05T10:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression for Monthyear conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1976877#M80594</link>
      <description>&lt;P&gt;Yes MendyS&lt;/P&gt;
&lt;P&gt;I connected monthyear with Date created using master calendar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 11:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1976877#M80594</guid>
      <dc:creator>Prasad1318</dc:creator>
      <dc:date>2022-09-05T11:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression for Monthyear conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1976935#M80598</link>
      <description>&lt;P&gt;i have use this example/Sample&lt;/P&gt;
&lt;P&gt;Load *,Num(DateCreated) as DateCreatedNum,num([Closuer Date]) as ClosureDateNum Inline [&lt;BR /&gt;ID, Type , DateCreated, Closuer Date&lt;BR /&gt;1, Open, 05/09/2022, 12/12/2022&lt;BR /&gt;6, Open, 05/09/2022, 12/12/2022&lt;BR /&gt;2, Open, 06/06/2022, 13/11/2022&lt;BR /&gt;3, Closed, 07/03/2022, 14/05/2022&lt;BR /&gt;4, Closed, 07/04/2022, 14/06/2022&lt;BR /&gt;5, Closed, 07/03/2022, 14/05/2022&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;DImension:&amp;nbsp;DateCreated&lt;/P&gt;
&lt;P&gt;Expression:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Count({&amp;lt;Type={'Open'},DateCreatedNum={"&amp;lt;=$(vMonthEnd)"},ClosureDateNum={"&amp;gt;=$(vMonthEnd)"}&amp;gt;}ID)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 12:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1976935#M80598</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2022-09-05T12:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression for Monthyear conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1977231#M80637</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Thanks for the reply&lt;/P&gt;
&lt;P&gt;But what the vMonthEnd variable is having?&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 05:42:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1977231#M80637</guid>
      <dc:creator>Prasad1318</dc:creator>
      <dc:date>2022-09-06T05:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Set Expression for Monthyear conditions</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1977233#M80638</link>
      <description>&lt;P&gt;=Num(floor(MonthEnd(Today()))).&lt;/P&gt;
&lt;P&gt;Are you not able to open Qvf attached?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 05:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Expression-for-Monthyear-conditions/m-p/1977233#M80638</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2022-09-06T05:47:16Z</dc:date>
    </item>
  </channel>
</rss>

