<?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 Rolling 30 days Values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824404#M67690</link>
    <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Hi everybody ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope all are good and fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need a answer asap if anyone online please help me out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I have requirement where i need to display for a metric the below values .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Current month (running month) use rolling 30 days for Ex: Jul 18th refresh calculates the Metric value using&amp;nbsp; Start Dt field between Jun18 through Jul 18th.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;If user selects previous month for Ex: May, it will display May Month (May ME – May 1 through May31) .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please reply me.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2021 05:29:35 GMT</pubDate>
    <dc:creator>Rocky6</dc:creator>
    <dc:date>2021-07-26T05:29:35Z</dc:date>
    <item>
      <title>Rolling 30 days Values</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824404#M67690</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Hi everybody ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope all are good and fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need a answer asap if anyone online please help me out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;I have requirement where i need to display for a metric the below values .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Current month (running month) use rolling 30 days for Ex: Jul 18th refresh calculates the Metric value using&amp;nbsp; Start Dt field between Jun18 through Jul 18th.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;If user selects previous month for Ex: May, it will display May Month (May ME – May 1 through May31) .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please reply me.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 05:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824404#M67690</guid>
      <dc:creator>Rocky6</dc:creator>
      <dc:date>2021-07-26T05:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 days Values</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824413#M67691</link>
      <description>&lt;P&gt;Anyone there online to reply for this post its little urgent.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 06:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824413#M67691</guid>
      <dc:creator>Rocky6</dc:creator>
      <dc:date>2021-07-26T06:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 days Values</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824416#M67692</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/86109"&gt;@Rocky6&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you can try the below one,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Variables:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vMonthType1=if( MONTH(max({1}[Trans Date]))=MONTH(max([Trans Date])),1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vMonthType2=if( MONTH(max({1}[Trans Date]))&amp;lt;&amp;gt;MONTH(max([Trans Date])),1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=sum({&amp;lt;[Trans Date]={"&amp;gt;= $(=AddMonths(max([Trans Date]),-1))&amp;lt;=$(=AddMonths(max([Trans Date]),0))"}&amp;gt;}Actual) * vMonthType1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;[Trans Date]= {"&amp;gt;=$(=monthstart(max([Trans Date])))&amp;lt;=$(=monthEnd(max([Trans Date])))"}&amp;gt;}Actual) *&amp;nbsp;vMonthType2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 06:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824416#M67692</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2021-07-26T06:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 days Values</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824440#M67695</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/32743"&gt;@sasikanth&lt;/a&gt;&amp;nbsp; Trans date is what field which i am using in data model as start date ?&lt;/P&gt;&lt;P&gt;I tired its not showing up the value can u please let me how this variable works i am new to qliksense&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 08:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824440#M67695</guid>
      <dc:creator>Rocky6</dc:creator>
      <dc:date>2021-07-26T08:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 days Values</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824549#M67706</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/32743"&gt;@sasikanth&lt;/a&gt;&amp;nbsp; Any other solution please&lt;/P&gt;&lt;P&gt;Anyone can help me out&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 14:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824549#M67706</guid>
      <dc:creator>Rocky6</dc:creator>
      <dc:date>2021-07-26T14:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 days Values</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824566#M67710</link>
      <description>&lt;P&gt;Create a StartDt calendar table with your required logic, joined on&amp;nbsp;Start Dt.&amp;nbsp; The month in this calendar table is what you can use on your front-end; since you will have a many to many relationship for days at the end of previous month.&lt;/P&gt;&lt;P&gt;Below uses today(), but you may want to you substitute it with max(StartDt) that would be calculated first.&amp;nbsp; You also may want to not do this if today or max(StartDt) is the last day of the month as you have a full month of data, you can add that logic in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example...&lt;/P&gt;&lt;P&gt;//Rows for current month (rolling 30 days)&lt;/P&gt;&lt;P&gt;StartDateCalendar:&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;&lt;P&gt;StartDt&lt;/P&gt;&lt;P&gt;,month(today()) as StartMonth&lt;/P&gt;&lt;P&gt;Resident &amp;lt;FactTable&amp;gt;&lt;/P&gt;&lt;P&gt;where StartDt &amp;gt;= date (today() - 30);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//Rows for previous months&lt;/P&gt;&lt;P&gt;Concatenate (StartDateCalendar)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;StartDt&lt;/P&gt;&lt;P&gt;,month(StartDt) as StartMonth&lt;/P&gt;&lt;P&gt;Resident &amp;lt;FactTable&amp;gt;&lt;/P&gt;&lt;P&gt;where StartDt &amp;lt; Monthstart(today());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 16:42:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824566#M67710</guid>
      <dc:creator>bgl-sjoyce</dc:creator>
      <dc:date>2021-07-26T16:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 days Values</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824569#M67711</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/86109"&gt;@Rocky6&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;yes, you can replace [Trans Date] with Start Date , also try to include variables inside $ ().&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=sum({&amp;lt;[Trans Date]={"&amp;gt;= $(=AddMonths(max([Trans Date]),-1))&amp;lt;=$(=AddMonths(max([Trans Date]),0))"}&amp;gt;}Actual) * &lt;FONT color="#FF0000"&gt;$(vMonthType1)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;[Trans Date]= {"&amp;gt;=$(=monthstart(max([Trans Date])))&amp;lt;=$(=monthEnd(max([Trans Date])))"}&amp;gt;}Actual) * &lt;FONT color="#FF0000"&gt;$(vMonthType2)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it would be more helpful if you can share sample app or Data model SS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 17:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1824569#M67711</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2021-07-26T17:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 days Values</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1825086#M67784</link>
      <description>&lt;P&gt;Thanks to all i got the solution for my requirements.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/32743"&gt;@sasikanth&lt;/a&gt;, &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/137399"&gt;@bgl-sjoyce&lt;/a&gt;&amp;nbsp; thanks for replying me&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 08:59:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/1825086#M67784</guid>
      <dc:creator>Rocky6</dc:creator>
      <dc:date>2021-07-28T08:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling 30 days Values</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/2152409#M93340</link>
      <description>&lt;P&gt;Please use Date parameter as below.&lt;/P&gt;
&lt;P&gt;Date={"&amp;gt;=$(=date((max(Date)-29)))&amp;lt;=$(=date(max(Date)))"}&amp;gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this date calculates last 30 dates based on the max(date).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 10:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-30-days-Values/m-p/2152409#M93340</guid>
      <dc:creator>Kaushik2020</dc:creator>
      <dc:date>2023-12-13T10:18:29Z</dc:date>
    </item>
  </channel>
</rss>

