<?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: Calculate expression from two fields from two different tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659655#M448640</link>
    <description>&lt;P&gt;Data:&lt;BR /&gt;Load *Inline[&lt;BR /&gt;Company, Vendor, Date_Posting, Date_Clearing, Amount&lt;BR /&gt;5000, 147, 02-02-2019, 06-06-2019, -245&lt;BR /&gt;4000, 157, 03-03-2019, 07-07-2019, -234&lt;BR /&gt;5000, 157, 03-04-2018, 11-09-2019, -244&lt;BR /&gt;5000, 154, 02-03-2019, 06-07-2019, 245&lt;BR /&gt;5000, 147, 02-02-2018, 06-08-2018, -322&lt;BR /&gt;5000, 134, 02-02-2018, 06-08-2018, -312&lt;BR /&gt;4000, 157, 01-10-2019, 03-11-2019, 554&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Month_End:&lt;/P&gt;&lt;P&gt;Load Distinct&lt;BR /&gt;Date(Monthend(Month),'DD-MM-YYYY') as Month_End&lt;/P&gt;&lt;P&gt;Resident Master_Calendar;&lt;/P&gt;&lt;P&gt;Master_Calendar contains dates from last few years.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expecting Dimension as Month_End, to see the amount which are greater than 0 in measure&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2019 09:17:25 GMT</pubDate>
    <dc:creator>rpavan17</dc:creator>
    <dc:date>2019-12-20T09:17:25Z</dc:date>
    <item>
      <title>Calculate Every Month End Closing Balance/Amount</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659633#M448635</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have two Tables&lt;/P&gt;&lt;P&gt;Table 1:&lt;/P&gt;&lt;P&gt;Vendor,&lt;/P&gt;&lt;P&gt;Date_Posting,&lt;/P&gt;&lt;P&gt;Date_Clearing,&lt;/P&gt;&lt;P&gt;Amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Month_End_Date;&lt;/P&gt;&lt;P&gt;I have to get the sum of Amount where Date_Posting &amp;lt; Month_End AND Date_Clearing &amp;gt; Month_End AND&amp;nbsp;&lt;/P&gt;&lt;P&gt;SUM(AMOUNT)&amp;gt;0 FOR EACH VENDOR .&lt;/P&gt;&lt;P&gt;Can you please help me here?&lt;/P&gt;&lt;P&gt;If i filter with vendor, it should show only selected vendor amount&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659633#M448635</guid>
      <dc:creator>rpavan17</dc:creator>
      <dc:date>2024-11-16T19:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate expression from two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659646#M448636</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;YourPrimaryKey={"=Date_Cleaning&amp;gt;Month_End and Date_Posting&amp;lt;Month_End"}&amp;gt;} AMOUNT)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 08:14:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659646#M448636</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-12-20T08:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate expression from two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659648#M448637</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in the load script?&lt;/P&gt;&lt;P&gt;can you share sample data ?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 08:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659648#M448637</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2019-12-20T08:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate expression from two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659655#M448640</link>
      <description>&lt;P&gt;Data:&lt;BR /&gt;Load *Inline[&lt;BR /&gt;Company, Vendor, Date_Posting, Date_Clearing, Amount&lt;BR /&gt;5000, 147, 02-02-2019, 06-06-2019, -245&lt;BR /&gt;4000, 157, 03-03-2019, 07-07-2019, -234&lt;BR /&gt;5000, 157, 03-04-2018, 11-09-2019, -244&lt;BR /&gt;5000, 154, 02-03-2019, 06-07-2019, 245&lt;BR /&gt;5000, 147, 02-02-2018, 06-08-2018, -322&lt;BR /&gt;5000, 134, 02-02-2018, 06-08-2018, -312&lt;BR /&gt;4000, 157, 01-10-2019, 03-11-2019, 554&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Month_End:&lt;/P&gt;&lt;P&gt;Load Distinct&lt;BR /&gt;Date(Monthend(Month),'DD-MM-YYYY') as Month_End&lt;/P&gt;&lt;P&gt;Resident Master_Calendar;&lt;/P&gt;&lt;P&gt;Master_Calendar contains dates from last few years.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expecting Dimension as Month_End, to see the amount which are greater than 0 in measure&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 09:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659655#M448640</guid>
      <dc:creator>rpavan17</dc:creator>
      <dc:date>2019-12-20T09:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate expression from two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659656#M448641</link>
      <description>&lt;P&gt;It gives null value&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;VendorCompany={"=Date_Cleaning&amp;gt;Month_End and Date_Posting&amp;lt;Month_End"}&amp;gt;} AMOUNT)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 08:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659656#M448641</guid>
      <dc:creator>rpavan17</dc:creator>
      <dc:date>2019-12-20T08:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate expression from two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659660#M448643</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Expecting Dimension as Month_End, to see the amount which are greater than 0&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 08:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659660#M448643</guid>
      <dc:creator>rpavan17</dc:creator>
      <dc:date>2019-12-20T08:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate expression from two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659675#M448644</link>
      <description>&lt;P&gt;Does Table 2 Contain Vendor? Id the Month_end_date is static value?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 09:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659675#M448644</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2019-12-20T09:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate expression from two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659708#M448645</link>
      <description>&lt;P&gt;Month_Date is static value and does not contain vendor in this table.&lt;/P&gt;&lt;P&gt;This is just a date.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 11:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659708#M448645</guid>
      <dc:creator>rpavan17</dc:creator>
      <dc:date>2019-12-20T11:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate expression from two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659742#M448647</link>
      <description>&lt;P&gt;I have two Tables&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;Month_End_Date&lt;/P&gt;&lt;P&gt;FROM Table2;&lt;/P&gt;&lt;P&gt;let vMonthEnd = peek('Month_End_Date',0,'Table2');&lt;/P&gt;&lt;P&gt;Table 1:&lt;/P&gt;&lt;P&gt;Vendor,&lt;/P&gt;&lt;P&gt;Date_Posting,&lt;/P&gt;&lt;P&gt;Date_Clearing,&lt;/P&gt;&lt;P&gt;if(Date_Posting &amp;lt; $(vMonthEnd) and Date_Clearing &amp;gt;&amp;nbsp;$(vMonthEnd),1,0) as Flag&lt;/P&gt;&lt;P&gt;Amount&lt;/P&gt;&lt;P&gt;FROM Table1;&lt;/P&gt;&lt;P&gt;Now you can use the expression as below&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;Flag={1}&amp;gt;}Amount)&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 12:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659742#M448647</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2019-12-20T12:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate expression from two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659928#M448668</link>
      <description>&lt;P&gt;I would like to see only sum greater than 0 for everymonth end date in calendar&lt;/P&gt;</description>
      <pubDate>Sat, 21 Dec 2019 00:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1659928#M448668</guid>
      <dc:creator>rpavan17</dc:creator>
      <dc:date>2019-12-21T00:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate expression from two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1660499#M448717</link>
      <description>&lt;P&gt;Sample File is here&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2019 13:50:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1660499#M448717</guid>
      <dc:creator>rpavan17</dc:creator>
      <dc:date>2019-12-24T13:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate expression from two fields from two different tables</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1660809#M448751</link>
      <description>&lt;P&gt;About the only thing I can offer at this point is the Design Blog area base URL, you can have a search in there to see if you can find any posts that may help.&amp;nbsp; This area consists of mostly how-to related items written by our internal experts, so you may find something there to help get on track.&amp;nbsp; My post will pull things back to the top too, but given the holidays, not sure who is actually out here right now.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 14:56:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Every-Month-End-Closing-Balance-Amount/m-p/1660809#M448751</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-26T14:56:36Z</dc:date>
    </item>
  </channel>
</rss>

