<?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: Month vs Month indicator in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1750880#M57798</link>
    <description>&lt;P&gt;Did not understood completely !! Could you share the full sample data set ?&amp;nbsp; and is your data is getting overwritten every month ? if yes where your storing the previous months data&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Oct 2020 01:20:05 GMT</pubDate>
    <dc:creator>avinashelite</dc:creator>
    <dc:date>2020-10-09T01:20:05Z</dc:date>
    <item>
      <title>Month vs Month indicator</title>
      <link>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1750879#M57797</link>
      <description>&lt;P&gt;Hi Guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a requirement for using a vizlib table to create an indicator based on month to month comparison&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So there are two date fields, the actual_date that consists of the past two months, 09/20 and 08/20. Each month a new month is added but for now we only have these two months. Then we have manufactured date for the products. So we need to make make a table for products and their manufactured date, one based on latest actual_date and one based on prev actual_date. So the table for the previous actual_date would be like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Manufactured Date&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;4/16/18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;2/5/17&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;3/14/16&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the table for the current actual_date would be like:&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Manufactured Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;1/16/15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;5/9/18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;3/14/16&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the table below would be the manufactured date of products based on previous vs current actual_date field. We are needing to create a indicator, just a background color on CURR to compare whether the manufactured date for a product in the current actual_date is sooner or later than the manufactured date&amp;nbsp; the previous actual date&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Manufactured Date (PREV)&lt;/TD&gt;&lt;TD&gt;Manufactured Date (CURR)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;4/16/18&lt;/TD&gt;&lt;TD&gt;1/16/15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;TD&gt;2/5/17&lt;/TD&gt;&lt;TD&gt;5/9/18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;TD&gt;3/14/16&lt;/TD&gt;&lt;TD&gt;3/14/16&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the expression i've tried to use isn't working, I am only getting white background color. I had created two variables vCurrentMonth (max(actual_date)) for the current actual_date and vPreviousMonth (=Date(Monthstart(Date(Date#(Max(actual_date),'MM-YYYY'),'MM-YYYY'))-1,'MM/YY'))&lt;/P&gt;&lt;P&gt;for the previous actual_date and had created this expression:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(only({&amp;lt;Actual_date={$(vCurrentMonth)}&amp;gt;}Manufactured_Date) &amp;gt; only({&amp;lt;Actual_Date={$(vPreviousMonth)}&amp;gt;}Manufactured_Date), Green(),&lt;BR /&gt;if(only({&amp;lt;Actual_date={$(vCurrentMonth)}&amp;gt;}Manufactured_Date) &amp;lt; only({&amp;lt;Actual_Date={$(vPreviousMonth)}&amp;gt;}Manufactured_Date), Red(), White()))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As mentioned I am only getting white background cells when that shouldn't be the case. What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 17:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1750879#M57797</guid>
      <dc:creator>LukaDon77</dc:creator>
      <dc:date>2024-11-16T17:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Month indicator</title>
      <link>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1750880#M57798</link>
      <description>&lt;P&gt;Did not understood completely !! Could you share the full sample data set ?&amp;nbsp; and is your data is getting overwritten every month ? if yes where your storing the previous months data&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 01:20:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1750880#M57798</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2020-10-09T01:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Month indicator</title>
      <link>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1750904#M57800</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/35867"&gt;@avinashelite&lt;/a&gt;&amp;nbsp;, Here is the sample report. Let me know of any issues&lt;BR /&gt;&lt;BR /&gt;And data is not being overwritten every month&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 04:15:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1750904#M57800</guid>
      <dc:creator>LukaDon77</dc:creator>
      <dc:date>2020-10-09T04:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Month indicator</title>
      <link>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1751141#M57824</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/35867"&gt;@avinashelite&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was just wanting to follow up regarding this. Any issues?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 14:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1751141#M57824</guid>
      <dc:creator>LukaDon77</dc:creator>
      <dc:date>2020-10-09T14:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Month indicator</title>
      <link>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1751242#M57836</link>
      <description>&lt;P&gt;I haven't got a chance to check, currently I'm outside. Will revert once I get a chance to check&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Oct 2020 05:11:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1751242#M57836</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2020-10-10T05:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Month indicator</title>
      <link>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1751400#M57847</link>
      <description>&lt;P&gt;check the attachment for the solution&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 04:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1751400#M57847</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2020-10-12T04:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Month indicator</title>
      <link>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1751691#M57873</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/35867"&gt;@avinashelite&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for the help! I had tried what you had done, and inserted an extra condition, using the word 'same' for when the dates are equal. However, for some reason the indicator is displaying 'same' for all the values. In my data, there is at least one - two values that differ from previous month to current month, but even for those values the indicator is showing 'same'. Is there a reason for this?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 19:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1751691#M57873</guid>
      <dc:creator>LukaDon77</dc:creator>
      <dc:date>2020-10-12T19:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Month vs Month indicator</title>
      <link>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1751743#M57878</link>
      <description>&lt;P&gt;Could you share your expression?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 01:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Month-vs-Month-indicator/m-p/1751743#M57878</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2020-10-13T01:15:08Z</dc:date>
    </item>
  </channel>
</rss>

