<?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 MTD Data is Correct but YTD value is getting wrong. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/MTD-Data-is-Correct-but-YTD-value-is-getting-wrong/m-p/2083530#M88817</link>
    <description>&lt;P&gt;I have to calculate the sum of MTD and YTD.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MTD data is correct for each month but in YTD value is wrong.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is my expression&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Num(alt(Sum({&amp;lt; STAT_FLAG={"BUDGET"},[Fiscal Month],[FY Year Name],BUSINESS_DATE,&lt;/P&gt;
&lt;P&gt;Posting_Date={"&amp;gt;=$(vCalMinDateYtd) &amp;lt;=$(vCalMaxDate) "} &amp;gt;} NO_OF_GUEST_STAYED) /BUD_Day_Target,0),'#,##0')&lt;/P&gt;
&lt;P&gt;here BUD_Day_Target is the no. of days in the month.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jun 2023 05:15:23 GMT</pubDate>
    <dc:creator>md_talib</dc:creator>
    <dc:date>2023-06-14T05:15:23Z</dc:date>
    <item>
      <title>MTD Data is Correct but YTD value is getting wrong.</title>
      <link>https://community.qlik.com/t5/App-Development/MTD-Data-is-Correct-but-YTD-value-is-getting-wrong/m-p/2083530#M88817</link>
      <description>&lt;P&gt;I have to calculate the sum of MTD and YTD.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MTD data is correct for each month but in YTD value is wrong.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;here is my expression&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Num(alt(Sum({&amp;lt; STAT_FLAG={"BUDGET"},[Fiscal Month],[FY Year Name],BUSINESS_DATE,&lt;/P&gt;
&lt;P&gt;Posting_Date={"&amp;gt;=$(vCalMinDateYtd) &amp;lt;=$(vCalMaxDate) "} &amp;gt;} NO_OF_GUEST_STAYED) /BUD_Day_Target,0),'#,##0')&lt;/P&gt;
&lt;P&gt;here BUD_Day_Target is the no. of days in the month.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 05:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/MTD-Data-is-Correct-but-YTD-value-is-getting-wrong/m-p/2083530#M88817</guid>
      <dc:creator>md_talib</dc:creator>
      <dc:date>2023-06-14T05:15:23Z</dc:date>
    </item>
  </channel>
</rss>

