<?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 Summary Net by date in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Summary-Net-by-date/m-p/1599230#M10912</link>
    <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I have a problem with summary by date, I have data like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Net_omset.JPG" style="width: 581px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14942i1481F1CB80A55381/image-size/large?v=v2&amp;amp;px=999" role="button" title="Net_omset.JPG" alt="Net_omset.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;expression&amp;nbsp;column NetAmt:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(date=Date_target,Sum(netamt),'')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to find Netamt total according to column Date Omset&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 20:30:57 GMT</pubDate>
    <dc:creator>arie_rozzy</dc:creator>
    <dc:date>2024-11-16T20:30:57Z</dc:date>
    <item>
      <title>Summary Net by date</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Summary-Net-by-date/m-p/1599230#M10912</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;I have a problem with summary by date, I have data like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Net_omset.JPG" style="width: 581px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14942i1481F1CB80A55381/image-size/large?v=v2&amp;amp;px=999" role="button" title="Net_omset.JPG" alt="Net_omset.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;expression&amp;nbsp;column NetAmt:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(date=Date_target,Sum(netamt),'')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to find Netamt total according to column Date Omset&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Summary-Net-by-date/m-p/1599230#M10912</guid>
      <dc:creator>arie_rozzy</dc:creator>
      <dc:date>2024-11-16T20:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Net by date</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Summary-Net-by-date/m-p/1599234#M10913</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have both the date fields i.e. date and Date omset in the same table then you can create a flag as below&amp;nbsp;&lt;/P&gt;&lt;P&gt;If(date = Date omset , 'Y', 'N') as Date_check&amp;nbsp;&lt;/P&gt;&lt;P&gt;And use this field to filter out the data in the expression .&lt;/P&gt;&lt;P&gt;&amp;nbsp;Expression:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;Date_check&amp;nbsp; = {'Y'}&amp;gt;}netamt).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope it helps .&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 02:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Summary-Net-by-date/m-p/1599234#M10913</guid>
      <dc:creator>saurabhwadhwa</dc:creator>
      <dc:date>2019-07-05T02:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Net by date</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Summary-Net-by-date/m-p/1599237#M10914</link>
      <description>&lt;P&gt;date_omset and date_target&amp;nbsp;are different tables,&lt;/P&gt;&lt;P&gt;i try expression like this :&amp;nbsp;Sum(distinct netamt)&lt;/P&gt;&lt;P&gt;but&amp;nbsp;the first line appears data_omset out of 3-7-2018 &amp;amp; 2-6-2018&lt;/P&gt;&lt;P&gt;line 2 &amp;amp; 3 is correct&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="net_omset3.JPG" style="width: 754px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14944iB5D1BD6376F13972/image-size/large?v=v2&amp;amp;px=999" role="button" title="net_omset3.JPG" alt="net_omset3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 03:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Summary-Net-by-date/m-p/1599237#M10914</guid>
      <dc:creator>arie_rozzy</dc:creator>
      <dc:date>2019-07-05T03:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Net by date</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Summary-Net-by-date/m-p/1599244#M10915</link>
      <description>&lt;P&gt;Since its not in this same table , you can use exists function to check the date and create the flag in similar way .&lt;/P&gt;&lt;P&gt;Step1 :&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load Date1 from table1 ;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fact table :&lt;/P&gt;&lt;P&gt;Load Date2 , if (exists (Date1 ,Date2), 'Y', 'N') as Date_check&amp;nbsp; from Fact table ;&lt;/P&gt;&lt;P&gt;Just make sure the date formats are same in the both the fields . otherwise , you can convert in number format and then compare .&lt;/P&gt;&lt;P&gt;Step2 :&lt;/P&gt;&lt;P&gt;use the same expression .&lt;/P&gt;&lt;P&gt;let me know if it does not work .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : you can achieve it in front end without creating the date_check , like you did using the if statement .&amp;nbsp;&lt;/P&gt;&lt;P&gt;its good to use set analysis in expression and avoid If statement .&lt;/P&gt;&lt;P&gt;BR ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 03:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Summary-Net-by-date/m-p/1599244#M10915</guid>
      <dc:creator>saurabhwadhwa</dc:creator>
      <dc:date>2019-07-05T03:48:11Z</dc:date>
    </item>
  </channel>
</rss>

