<?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: Projecting Future Month's Potential Charges in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270904#M399809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To pick up / include any 2018 decommissions, what would you change / modify?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Feb 2017 15:49:54 GMT</pubDate>
    <dc:creator>pnn44794</dc:creator>
    <dc:date>2017-02-07T15:49:54Z</dc:date>
    <item>
      <title>Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270896#M399801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a need to be able to project potential future costs based on a decommission date of an application being missed.&amp;nbsp; For example, if an application is scheduled for decommission sometime in February and that does not happen, what is the cost for April 2017 to January 2018?&amp;nbsp; April 2017 (201704) through to January 2018 (201801) is not currently present in the data pulled from the database.&amp;nbsp; To be clear, if an app is decommissioned at some point in January 2017, we would still be billed in February 2017 for January.&amp;nbsp; If still live in February, billed in March and billing would stop with April's bill.&amp;nbsp; So, I need to add a +2 to the calculated Charge Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say App A is due for decommission in February 2017 and is indeed decommissioned in February 2017, there's no additional charges for 2017 AFTER March 2017 because we're still charged for February (think electric bill where you're not billed for the current month until the next month because there's no way to predict what the current usage is until that month is over and&amp;nbsp; / or billing period is over) with the March bill.&amp;nbsp;&amp;nbsp; If App A were to miss being decommissioned in February 2017, the bill should be the same in April 2017 because we're now into March which would have a charge amount we would see with April's billing (April billing for March usage) because there was partial usage in March.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields in play are:&amp;nbsp; "Charge Month" in the format of YYYYMM, "Charge Amount" in dollars, "Decommission Date" in the form of mm-dd-yyyy, the future months which don't exist yet in the format of YYYYMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example:&lt;/P&gt;&lt;P&gt;Charge Month = 201702, Decommission Date = 06-15-2017, Charge Amount (for current month of analysis, i.e. 201702) = $100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;I would have columns from 201704 thru columns 201801 for Charge Month as part of the straight table showing a Charge Amount of $100 for each Month from Charge Month = 201708 through 201801 based on a Decommission Date of 06-15-2017 ( or any other date in June).&amp;nbsp; The dollar amount would be based on the current months charges, meaning in this case, the current month is 201702 at $100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this make sense?&amp;nbsp; I know it's long winded and my apologies for that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 02:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270896#M399801</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-02-01T02:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270897#M399802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Perry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible for you to share some sample data, which has the exact structure as you said. (Similar data model or table which you are using).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help us to understand and try something for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Feb 2017 05:04:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270897#M399802</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-02-01T05:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270898#M399803</link>
      <description>&lt;P&gt;Hello Kaushik:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply and my apologies for the delay in mine.&amp;nbsp; It's been one of those days......&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your patience.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 19:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270898#M399803</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-10-13T19:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270900#M399805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kaushik:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My apologies.&amp;nbsp; It appears I responded to myself and not you.&amp;nbsp; I have provided additional information.&amp;nbsp; Please see below (or maybe just above this post).&amp;nbsp; Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2017 13:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270900#M399805</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-02-02T13:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270901#M399806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Perry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample app attached.&lt;/P&gt;&lt;P&gt;Projects actual values from 201701 to Decom month + 1 month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 13:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270901#M399806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T13:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270902#M399807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Deran:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wow!&amp;nbsp; This looks like it does exactly what I was looking for.&amp;nbsp; I didn't think I'd get a response on this as it's not an easy ask and I would have completely understood that.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; So, I really appreciate you taking the time to have a go at this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a very busy day today, but I will try to get this in place and tested today.&amp;nbsp; Definitely this week.&amp;nbsp; I do need to make a few tweaks to the code as the data actually comes from a database, but no big deal for me to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly, once I've tested and everything works (I'm expecting it will), I'd like to send the code back to you with my comments included for each section of code to see if I'm understanding what the code is doing.&amp;nbsp; I know you have comments too in there.&amp;nbsp; I just want to add some more in-depth comments.&amp;nbsp; The reason for that is because I'm hoping to learn something from this and get better at coding in Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that ok with you?&amp;nbsp; Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 14:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270902#M399807</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-02-07T14:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270903#M399808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds good... The code might be a bit messy as it was a first go and a bit of a hurry. It can also be extended further to get the correct charge year for instance from the charge month field so that it dynamically picks up 2018 if the decommissioned date is in 2018. Should be easy though with what's provided. Also lots of room for improvement as you go along.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 15:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270903#M399808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T15:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270904#M399809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To pick up / include any 2018 decommissions, what would you change / modify?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 15:49:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270904#M399809</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-02-07T15:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270905#M399810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the data chargemonth is in the format YYYYMM so left(chargemonth,4) as Year...be sure to put this in the correct place..The load statement were we are adding the projected months data.&lt;/P&gt;&lt;P&gt;PM if you are at ms?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Feb 2017 16:07:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270905#M399810</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T16:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270906#M399811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update to the last line of code:&lt;/P&gt;&lt;P&gt;Remove the num#() function&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;where&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NOT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Exists&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Charge Month]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will bring all previous actuals in as well. (201609-201612)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Feb 2017 05:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270906#M399811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-08T05:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270907#M399812</link>
      <description>&lt;P&gt;Hello Deran:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ok. I’ll make that change as I would like to pull in some history. Right now, I’m having some additional challenges. I should have provided this information from the beginning. My fault for not doing so. I believe I mentioned that I’m loading the data from a database, right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to join 3 tables together in order to get all the data points needed. I can do this just fine running a query from Toad. I’m also, based on those joins, pulling in additional fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 19:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270907#M399812</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-10-13T19:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270908#M399813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Perry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code above has a mix of QV and SQL code so QV will not understand the commands.&lt;/P&gt;&lt;P&gt;Assuming the select statement runs fine on TOAD without errors and to rule out the access issue,&lt;/P&gt;&lt;P&gt;start a fresh qvw and add in your connection string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then paste in the code as is:&lt;/P&gt;&lt;P&gt;- Code in bold is the exact SQL statement and regular text is QV code. SQL statement is letting QV know we want to run sql code.&lt;/P&gt;&lt;P&gt;- This will bring in all data returned by the sql&lt;/P&gt;&lt;P&gt;- When debugging you can load top/first 10 records as you would normaly do in TOAD - Just add it in the correct position after the SQL keyword below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact:&lt;/P&gt;&lt;P&gt;Load *;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SELECT a."APP_ALLOCATION",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."APP_CNT4INV",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."APP_ENVIRONMENT",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."APP_ID",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."APP_INSTANCE_ID",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."APP_NAME",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."APP_RESOLVER",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."APPLICATION_IDS",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."APPLICATION_NAMES",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."ASSET_ENVIRONMENT",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."BUSINESS_LOAD",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."CAF_CRITICAL",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."CC_ALLOCATION",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."CCB_INFRA_CAT_L1",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."CCB_INFRA_CAT_L2",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."CCB_INFRA_CAT_L3",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."CCB_LOB",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."HOST_INV_NO",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."HOST_NAME",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a.INFRA4APP,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."INVENTORY_NO",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."OVERALL_RISK_RATING",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."RECORD_OWNER (SUPPORT_TEAM)",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."SITE_NAME",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."SEAL_APP_LOB",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."SEAL_APP_LOB_NEW",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a."SEAL_TGO",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b."CHARGE_AMOUNT",&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.ORG_CC,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.ORG_DESCRIPTION,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.ORG_SORT_CODE,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.PLATFORM,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.[PPG_L2 (FAMILY)],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.[PPG_L3 (PSET)],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.[PPG_L4 (OFFERING)],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.PPGUNITS,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.PRICE,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.[PRODUCT (AVAILABILITY)],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.[PROVIDER_L2 (TOWER)],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b.[SCE (FINANCIAL_CODE)]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM sources.common."IR_TAMS_APPS_COMMON_FIELDS_BASE_V" a&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;left join sources.common."IR_MARS_CHARGES_V" b on b.HOST_NAME = a.HOST_NAME&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;left join sources.common.IR_SEAL_APP_DETAILS_V c on c.APP_ID = a.APP_ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE ((&amp;nbsp; = '201609' or&amp;nbsp; = '201610' or&amp;nbsp; = '201611' or&amp;nbsp; = '201612') or&amp;nbsp; like '2017%') and ORG_SORT_CODE like 'K%';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Run this&amp;nbsp; just to bring in the data and then take it from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 07:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270908#M399813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-09T07:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270909#M399814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Deran, but I'm not sure where left(chargemonth,4) as Year should go in order to capture any 2018 decommissions.&amp;nbsp; Does it just need to go in one place?&amp;nbsp; Is there any calculation or other manipulation I need to do with it?&amp;nbsp; Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 18:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270909#M399814</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-02-09T18:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270910#M399815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code above is just to test the connection. Have you tried it as above? Did it run and return the expected rows?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 18:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270910#M399815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-09T18:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270911#M399816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have not tried it yet, but I will and hopefully today.&amp;nbsp; I was actually responding to one of your earlier responses where I had asked about including&amp;nbsp; / capturing any 2018 planned decommissions.&amp;nbsp; I've been working on an alternative to pulling directly from the database as a temporary measure.&amp;nbsp; I'll explain what I've done in about 30 minutes with another post.&amp;nbsp; I currently have a load running which hopefully will work.&amp;nbsp; The database pull is the preferred method though.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 18:19:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270911#M399816</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-02-09T18:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270912#M399817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok cool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on how often your refresh is going to be and the amount of records you are pulling in I would suggest creating a Qv data loader to extract and transform then save to a qvd. Qvds will allow you to hit the dB less especially during testing. Qvds also load way faster than constantly pulling from the dB which will save you lots of dev time. You should also look at loading a subset of data to your discretion to bed down the logic and then test it on the full load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have created a data loader process,  you can work on your application and load faster without pulling from the dB.&lt;/P&gt;&lt;P&gt;Are you able to pm?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 18:56:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270912#M399817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-09T18:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270913#M399818</link>
      <description>&lt;P&gt;Hello Deran:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will definitely try this as pulling from the database is the preferred method over a spreadsheet.&amp;nbsp; In the meantime....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before I got your suggestion above for trying out the just the SQL code in a new qvw, I had gone down another path which is:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Run the SQL code in Toad and get the results&lt;/LI&gt;&lt;LI&gt;Export the results to a csv file&lt;/LI&gt;&lt;LI&gt;Added the additional fields I mentioned before to the appropriate sections of the code&lt;/LI&gt;&lt;LI&gt;Perform the load&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This appears to be working, but I do get a Field Not Found &amp;lt;ChargeYearMonth&amp;gt; error when I run the load.&amp;nbsp; I say it appears to be working because the data loads into the table fine and I do have Charge Month, so it looks like it's working, but I haven't fully validated it yet.&amp;nbsp; Any ideas why ChargeYearMonth would not be found?&amp;nbsp; The error message comes up during the load for the Data section (Data &amp;lt;&amp;lt; DataTemp) and after all rows have been fetched.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2019 19:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270913#M399818</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2019-10-13T19:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270914#M399819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure what you mean by "Are you able to pm?"&amp;nbsp; What's pm?&amp;nbsp; Sorry if I'm being dense, but I don't know what pm is.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 19:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270914#M399819</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-02-09T19:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270915#M399820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its most probably the naming of the fields are inconsistent.&lt;/P&gt;&lt;P&gt;Its difficult to point out without looking at the script.&lt;/P&gt;&lt;P&gt;PM is private message via the community site. I have email notification setup for this to reduce the emails i receive &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 05:56:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270915#M399820</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-10T05:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Projecting Future Month's Potential Charges</title>
      <link>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270916#M399821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gotcha.  Thanks.  I’ll respond via PM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2017 17:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Projecting-Future-Month-s-Potential-Charges/m-p/1270916#M399821</guid>
      <dc:creator>pnn44794</dc:creator>
      <dc:date>2017-02-10T17:05:05Z</dc:date>
    </item>
  </channel>
</rss>

