<?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 Data missing in Monthly QVD in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-missing-in-Monthly-QVD/m-p/1518180#M748519</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating the monthly qvd using following script.But some i am missing data of some months ...like 2018-02 and 2018-11.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//Calculate current month Situation&lt;BR /&gt;Trending:&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;text(Timestamp(today(),'YYYY-MM')) as ReportMonth,&lt;BR /&gt;date(Timestamp(today(),'YYYY-MM')) as Report_Month,&lt;BR /&gt;ContractShipToCountry,&lt;BR /&gt;Portfolio,&lt;BR /&gt;ContractStatus,&lt;BR /&gt;Count(distinct Contract_Equipment_Id) as NonSMAEligibleScope,&lt;BR /&gt;Count(distinct if(not isnull(DQ_NonSMAProduct),Contract_Equipment_Id,null())) as NonSMAEligible,&lt;BR /&gt;Count(distinct if(SLCPType='SLCP' and isnull(DQ_NonSMAProduct) and not isnull(DQ_MissingSWSerial),Contract_Equipment_Id,null())) as MissingSWSerial,&lt;BR /&gt;Count(distinct if(SLCPType='SLCP' and isnull(DQ_NonSMAProduct),Contract_Equipment_Id,null())) as MissingSWSerialScope,&lt;BR /&gt;Count(distinct if(ApplyMap('MAPPICProducts',CommercialMaterial,'N')='N' and isnull(DQ_NonSMAProduct),Contract_Equipment_Id,null())) as MissingCounterScope,&lt;BR /&gt;Count(distinct if(ApplyMap('MAPPICProducts',CommercialMaterial,'N')='N'&lt;BR /&gt;and isnull(DQ_NonSMAProduct) and not isnull(DQ_MissingCounter),Contract_Equipment_Id,null())) as MissingCounter,&lt;BR /&gt;Count(Distinct if(EOLReached='Y' and isnull(DQ_NonSMAProduct),Contract_Equipment_Id,null())) as EOLEquipment,&lt;BR /&gt;Count(distinct if(isnull(DQ_NonSMAProduct),Contract_Equipment_Id,null())) as EOLEquipmentScope&lt;BR /&gt;RESIDENT SMA&lt;BR /&gt;WHERE (index('Active,Pending',ContractStatus)&amp;gt;0)&lt;BR /&gt;GROUP BY Timestamp(today(),'YYYY-MM'),ContractShipToCountry, Portfolio,ContractStatus;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LET vCount = NoOfRows('Trending');&lt;/P&gt;&lt;P&gt;LOAD Today() as Date, $(vCount) as RecordCount AutoGenerate 1 ;&lt;/P&gt;&lt;P&gt;// Load measures history from QVD for previous Months only&lt;BR /&gt;SET QVDFile='..\5_QVD\DQ_Trending.qvd';&lt;BR /&gt;IF NOT(isnull(QvdCreateTime('$(QVDFile)'))) then&lt;BR /&gt;Trace Loading metrics trending from QVD...;&lt;BR /&gt;Concatenate (Trending)&lt;BR /&gt;LOAD *&lt;BR /&gt;// ReportMonth,&lt;BR /&gt;// SoldToCountry as ContractShipToCountry,&lt;BR /&gt;// 'PCMS Portfolio' as Trend_Portfolio,&lt;BR /&gt;// NonSMAEligibleScope,&lt;BR /&gt;// NonSMAEligible,&lt;BR /&gt;// MissingSWSerial,&lt;BR /&gt;// MissingSWSerialScope,&lt;BR /&gt;// MissingCounterScope,&lt;BR /&gt;// MissingCounter,&lt;BR /&gt;// EOLEquipment,&lt;BR /&gt;// EOLEquipmentScope&lt;BR /&gt;FROM [$(QVDFile)](qvd)&lt;BR /&gt;WHERE ReportMonth &amp;lt; text(Timestamp(today(),'YYYY-MM'));&lt;BR /&gt;END IF&lt;/P&gt;&lt;P&gt;//Store trending in QVD (including today's values) for next reload&lt;BR /&gt;TRACE Saving updated Trending to QVD...;&lt;BR /&gt;STORE Trending INTO [$(QVDFile)];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any one help me in this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>manu1512</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Data missing in Monthly QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Data-missing-in-Monthly-QVD/m-p/1518180#M748519</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am creating the monthly qvd using following script.But some i am missing data of some months ...like 2018-02 and 2018-11.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//Calculate current month Situation&lt;BR /&gt;Trending:&lt;BR /&gt;LOAD Distinct&lt;BR /&gt;text(Timestamp(today(),'YYYY-MM')) as ReportMonth,&lt;BR /&gt;date(Timestamp(today(),'YYYY-MM')) as Report_Month,&lt;BR /&gt;ContractShipToCountry,&lt;BR /&gt;Portfolio,&lt;BR /&gt;ContractStatus,&lt;BR /&gt;Count(distinct Contract_Equipment_Id) as NonSMAEligibleScope,&lt;BR /&gt;Count(distinct if(not isnull(DQ_NonSMAProduct),Contract_Equipment_Id,null())) as NonSMAEligible,&lt;BR /&gt;Count(distinct if(SLCPType='SLCP' and isnull(DQ_NonSMAProduct) and not isnull(DQ_MissingSWSerial),Contract_Equipment_Id,null())) as MissingSWSerial,&lt;BR /&gt;Count(distinct if(SLCPType='SLCP' and isnull(DQ_NonSMAProduct),Contract_Equipment_Id,null())) as MissingSWSerialScope,&lt;BR /&gt;Count(distinct if(ApplyMap('MAPPICProducts',CommercialMaterial,'N')='N' and isnull(DQ_NonSMAProduct),Contract_Equipment_Id,null())) as MissingCounterScope,&lt;BR /&gt;Count(distinct if(ApplyMap('MAPPICProducts',CommercialMaterial,'N')='N'&lt;BR /&gt;and isnull(DQ_NonSMAProduct) and not isnull(DQ_MissingCounter),Contract_Equipment_Id,null())) as MissingCounter,&lt;BR /&gt;Count(Distinct if(EOLReached='Y' and isnull(DQ_NonSMAProduct),Contract_Equipment_Id,null())) as EOLEquipment,&lt;BR /&gt;Count(distinct if(isnull(DQ_NonSMAProduct),Contract_Equipment_Id,null())) as EOLEquipmentScope&lt;BR /&gt;RESIDENT SMA&lt;BR /&gt;WHERE (index('Active,Pending',ContractStatus)&amp;gt;0)&lt;BR /&gt;GROUP BY Timestamp(today(),'YYYY-MM'),ContractShipToCountry, Portfolio,ContractStatus;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LET vCount = NoOfRows('Trending');&lt;/P&gt;&lt;P&gt;LOAD Today() as Date, $(vCount) as RecordCount AutoGenerate 1 ;&lt;/P&gt;&lt;P&gt;// Load measures history from QVD for previous Months only&lt;BR /&gt;SET QVDFile='..\5_QVD\DQ_Trending.qvd';&lt;BR /&gt;IF NOT(isnull(QvdCreateTime('$(QVDFile)'))) then&lt;BR /&gt;Trace Loading metrics trending from QVD...;&lt;BR /&gt;Concatenate (Trending)&lt;BR /&gt;LOAD *&lt;BR /&gt;// ReportMonth,&lt;BR /&gt;// SoldToCountry as ContractShipToCountry,&lt;BR /&gt;// 'PCMS Portfolio' as Trend_Portfolio,&lt;BR /&gt;// NonSMAEligibleScope,&lt;BR /&gt;// NonSMAEligible,&lt;BR /&gt;// MissingSWSerial,&lt;BR /&gt;// MissingSWSerialScope,&lt;BR /&gt;// MissingCounterScope,&lt;BR /&gt;// MissingCounter,&lt;BR /&gt;// EOLEquipment,&lt;BR /&gt;// EOLEquipmentScope&lt;BR /&gt;FROM [$(QVDFile)](qvd)&lt;BR /&gt;WHERE ReportMonth &amp;lt; text(Timestamp(today(),'YYYY-MM'));&lt;BR /&gt;END IF&lt;/P&gt;&lt;P&gt;//Store trending in QVD (including today's values) for next reload&lt;BR /&gt;TRACE Saving updated Trending to QVD...;&lt;BR /&gt;STORE Trending INTO [$(QVDFile)];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can any one help me in this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-missing-in-Monthly-QVD/m-p/1518180#M748519</guid>
      <dc:creator>manu1512</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Data missing in Monthly QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Data-missing-in-Monthly-QVD/m-p/1518192#M748520</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/1840i9DF8A4136C3D0D2E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;Please explain, What the second point do?&lt;/P&gt;</description>
      <pubDate>Sat, 08 Dec 2018 00:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-missing-in-Monthly-QVD/m-p/1518192#M748520</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-12-08T00:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Data missing in Monthly QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Data-missing-in-Monthly-QVD/m-p/1518214#M748521</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Second point is concatenating with historical data......which is stored in the same qvd.....with same name trending qvd</description>
      <pubDate>Sat, 08 Dec 2018 07:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-missing-in-Monthly-QVD/m-p/1518214#M748521</guid>
      <dc:creator>manu1512</dc:creator>
      <dc:date>2018-12-08T07:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Data missing in Monthly QVD</title>
      <link>https://community.qlik.com/t5/QlikView/Data-missing-in-Monthly-QVD/m-p/1518215#M748522</link>
      <description>If possible can you please suggest alternative way of creating this monthly qvd that is trending</description>
      <pubDate>Sat, 08 Dec 2018 07:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-missing-in-Monthly-QVD/m-p/1518215#M748522</guid>
      <dc:creator>manu1512</dc:creator>
      <dc:date>2018-12-08T07:23:11Z</dc:date>
    </item>
  </channel>
</rss>

