<?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: Field not found loading data from QVD in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Field-not-found-loading-data-from-QVD/m-p/2125945#M91628</link>
    <description>&lt;P&gt;This is generally due to the fact that field names are case sensitive in Qlik script but are case insensitive in SQL. Please post your script if you have further questions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 08:35:53 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2023-10-06T08:35:53Z</dc:date>
    <item>
      <title>Field not found loading data from QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Field-not-found-loading-data-from-QVD/m-p/2125865#M91620</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;One New field added in Sql table as the same field stored in QVD also.&lt;/P&gt;
&lt;P&gt;while reloading QVF getting error as field not found.&lt;/P&gt;
&lt;P&gt;QVD's are stored in Day wise and new field added 2 days back in sql table.&lt;/P&gt;
&lt;P&gt;request to please help how to resolve.&lt;/P&gt;
&lt;P&gt;Bhaskar&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 05:51:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Field-not-found-loading-data-from-QVD/m-p/2125865#M91620</guid>
      <dc:creator>bhaskar</dc:creator>
      <dc:date>2023-10-06T05:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found loading data from QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Field-not-found-loading-data-from-QVD/m-p/2125945#M91628</link>
      <description>&lt;P&gt;This is generally due to the fact that field names are case sensitive in Qlik script but are case insensitive in SQL. Please post your script if you have further questions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 08:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Field-not-found-loading-data-from-QVD/m-p/2125945#M91628</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2023-10-06T08:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found loading data from QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Field-not-found-loading-data-from-QVD/m-p/2125973#M91631</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;this is my script and data was stored in day wise.&lt;/P&gt;
&lt;P&gt;Added new field in sql and qvd also reloaded but below is getting error because it is fetch the data from each qvd.&lt;/P&gt;
&lt;P&gt;field name : esim_subcategory&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;LIB CONNECT TO 'Qlik_AWS_Vertica (telenormm_qlikadmin)';&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Let QVD_Path = 'lib://QVD_folder_Path (telenormm_qlikadmin)/Activation_and_Subscription_base_Report_fnl';&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;//Let varMinDate = Num(Date(DATE#('20210101','YYYYMMDD')));&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Let varMinDate = Num(date(monthname(addmonths(today(),-14)),'YYYYMMDD'));&amp;nbsp; // it's take last 14 months data from 1st date of 14th Month&lt;/DIV&gt;
&lt;DIV&gt;Let varMaxDate = Num(Date(Today()));&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;// Trace Min Date :$(varMinDate) Max Date : $(varMaxDate);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;TempCalendar:&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;LOAD&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;// rprt_dt as TempDate&lt;/DIV&gt;
&lt;DIV&gt;// from [$(QVD_Path)\QVD_dt_r_dormancy_dly.qvd](qvd);&lt;/DIV&gt;
&lt;DIV&gt;$(varMinDate) + Iterno()-1 As Num,&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Date($(varMinDate) + IterNo()-1) as TempDate&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;AutoGenerate 1 While $(varMinDate) + IterNo()-1 &amp;lt;= $(varMaxDate);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;//Data starts laoding&lt;/DIV&gt;
&lt;DIV&gt;for i= 0 to NoOfRows('TempCalendar')-1&lt;/DIV&gt;
&lt;DIV&gt;//variable to pick all new dates one by one from source which is saved in dt table&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; let dt = date(peek('TempDate',$(i),'TempCalendar'),'YYYYMMDD');&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; let mnth = Month(date(peek('TempDate',$(i),'TempCalendar'),'YYYYMMDD'));&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; let yr = year(date(peek('TempDate',$(i),'TempCalendar'),'YYYYMMDD'));&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; Trace data loading for the date: $(dt);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Let vQVDcheck = not isnull(QvdCreateTime('[$(QVD_Path)\$(yr)\$(mnth)\r_actvtn_sbscrptn_$(dt).qvd]'));&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;if $(vQVDcheck) = -1 then&lt;/DIV&gt;
&lt;DIV&gt;r_actvtn_sbscrptn:&lt;/DIV&gt;
&lt;DIV&gt;LOAD&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Date("rprt_dt") as Date,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; MonthName(rprt_dt) As "Month Year",&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; Year(rprt_dt) As Year,&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; Month(rprt_dt) As Month,&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; QuarterName(rprt_dt) as QuarterName,&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; 'Q' &amp;amp; CEIL(NUM(MONTH("rprt_dt"))/3) as Quarter,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; 'Q' &amp;amp; CEIL(NUM(MONTH("rprt_dt"))/3) &amp;amp; ',' &amp;amp; Year("rprt_dt") AS "Quarter Year",&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(IsNull("ln_of_bssnss"),'Unknown',"ln_of_bssnss") as "Line of Business",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(IsNull("prdct_ln"),'Unknown',"prdct_ln") as "Product Line",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(IsNull("cstmr_typ_desc"),'Unknown',"cstmr_typ_desc") as "Customer Type",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(IsNull("lf_cycl_stts_desc"),'Unknown',"lf_cycl_stts_desc") as "Customer Status (Life Cycle)",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(IsNull("cbs_stts_desc"),'Unknown',"cbs_stts_desc") as "cbs_stts_desc",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(IsNull("cstmr_sgmnt_desc"),'Unknown',"cstmr_sgmnt_desc") as "Customer Segment",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(IsNull("prmry_offrng_nme"),'Unknown',"prmry_offrng_nme") as "Price Plan",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(IsNull("prtnr_typ_desc"),'Unknown',"prtnr_typ_desc") as "Partner Type",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; //if(IsNull("prtnr_code"),'Unknown',"prtnr_code") as "Partner Code",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; //if(IsNull("prnt_prtnr_code"),'Unknown',"prnt_prtnr_code") as "DTR Code",&amp;nbsp; //"Parent Partner Code"&lt;/DIV&gt;
&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;"bll_invc_dt" as "Bill Invoice Date",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(IsNull("emply_sim_indctr"),'Unknown',"emply_sim_indctr") as "Employee Sim Indicator",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(IsNull("clstr_nme_mst_usd_ovrll"),'Unknown',"clstr_nme_mst_usd_ovrll") as "Cluster - Most Used",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(IsNull("mn_clstr_nme_mst_usd_ovrll"),'Unknown',"mn_clstr_nme_mst_usd_ovrll") as "Mini Cluster - Most Used",&lt;/DIV&gt;
&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;if(IsNull("cllst_nme_mst_usd_ovrll"),'Unknown',"cllst_nme_mst_usd_ovrll") as "Cell Site ID&amp;nbsp; &amp;nbsp;Most Used",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; if(IsNull("rgn_nme_mst_usd_ovrll"),'Unknown',"rgn_nme_mst_usd_ovrll") as "Region - Most Used",&lt;/DIV&gt;
&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;if(IsNull("clstr_nme_pos_wse_lctn"),'Unknown',clstr_nme_pos_wse_lctn) as "Cluster - POS",&lt;/DIV&gt;
&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;if(IsNull("mn_clstr_nme_pos_wse_lctn"),'Unknown',mn_clstr_nme_pos_wse_lctn) as "Mini Cluster - POS",&lt;/DIV&gt;
&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;if(IsNull("rgn_nme_pos_wse_lctn"),'Unknown',rgn_nme_pos_wse_lctn) as "Region - POS",&lt;/DIV&gt;
&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;if(IsNull("cllst_nme_pos_wse_lctn"),'Unknown',cllst_nme_pos_wse_lctn) as "Cell Site ID&amp;nbsp; &amp;nbsp;POS",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "ftd_new_actv_cnt" as "Activation Count",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "ftd_rjnrs_cnt" as "Rejoiners Count",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "ftd_actv_cnt" as "Active Subscribers Count",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "ftd_chrn_cnt" as "Churn Count",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "ftd_dscnnctn_cnt" as "Disconnected Users Count",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "ftd_grss_chrn_cnt" as "Gross Churn Count",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "ftd_pool_stt_cnt" as "Pool Status Count",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "ftd_idle_stt_cnt" as "Idle Status Count",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "ftd_net_add_cnt" as "Net Addition Count",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "ftd_net_chrn_cnt" as "Net Churn Count",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "ftd_opnng_cnt" as "Opening Count",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; "ftd_clsng_cnt" as&amp;nbsp; "Closing Count",&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; esim_subcategory as eSIM_SubCategory&lt;/DIV&gt;
&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;load_date,&lt;/DIV&gt;
&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;load_user,&lt;/DIV&gt;
&lt;DIV&gt;//&amp;nbsp; &amp;nbsp; &amp;nbsp;execution_id&lt;/DIV&gt;
&lt;DIV&gt;from [$(QVD_Path)/$(yr)/$(mnth)/r_actvtn_sbscrptn_$(dt).qvd](qvd);&lt;/DIV&gt;
&lt;DIV&gt;//from [$(QVD_Path)/2023/Oct/r_actvtn_sbscrptn_20231004.qvd](qvd);&lt;/DIV&gt;
&lt;DIV&gt;else&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; Trace QVD not exists for the date : $(dt);&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;End if;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; let i=i+0;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;Next&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;/*&lt;/DIV&gt;
&lt;DIV&gt;All will be replaced with FACT_SUBSCRIPTION_SUMMARY_DAILY measures&lt;/DIV&gt;
&lt;DIV&gt;Activations - distinct cnt of subscription id where evnt_grss_add=1&lt;/DIV&gt;
&lt;DIV&gt;Active - distinct count of subcription id where LFE_CYCL_STTUS_TYP_CD=1&lt;/DIV&gt;
&lt;DIV&gt;Churn - distinct count of subcription id where EVNT_CHRN=1&lt;/DIV&gt;
&lt;DIV&gt;Disconnections - distinct count of subcription id where L"Customer Status (Life Cycle)"="Disconnections" [note:given desc since unaware of LFE_CYCL_STTUS_TYP_CD; desc has mentioned FTD_Disconnect]&lt;/DIV&gt;
&lt;DIV&gt;Gross Churn - Churn+Disconnections&lt;/DIV&gt;
&lt;DIV&gt;Pool - distinct count of subcription id where L"Customer Status (Life Cycle)"="Pool" [note:given desc since unaware of LFE_CYCL_STTUS_TYP_CD&lt;/DIV&gt;
&lt;DIV&gt;Idle - distinct count of subcription id where L"Customer Status (Life Cycle)"="Idle" [note:given desc since unaware of LFE_CYCL_STTUS_TYP_CD&lt;/DIV&gt;
&lt;DIV&gt;Netadds - distinct count of subcription id where&lt;/DIV&gt;
&lt;DIV&gt;Net churn - distinct count of subcription id where&lt;/DIV&gt;
&lt;DIV&gt;closing base - distinct count of subcription id where&lt;/DIV&gt;
&lt;DIV&gt;Opening Base - distinct count of subcription id where&lt;/DIV&gt;
&lt;DIV&gt;Rejoiners - distinct count of subcription id where L"Customer Status (Life Cycle)"="Rejoiner" [note:given desc since unaware of LFE_CYCL_STTUS_TYP_CD&lt;/DIV&gt;
&lt;DIV&gt;*/&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 09:08:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Field-not-found-loading-data-from-QVD/m-p/2125973#M91631</guid>
      <dc:creator>bhaskar</dc:creator>
      <dc:date>2023-10-06T09:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found loading data from QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Field-not-found-loading-data-from-QVD/m-p/2126280#M91662</link>
      <description>&lt;P&gt;Do you mean&amp;nbsp;&lt;SPAN&gt;esim_subcategory exists in some QVDs but not others?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Oct 2023 15:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Field-not-found-loading-data-from-QVD/m-p/2126280#M91662</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2023-10-07T15:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Field not found loading data from QVD</title>
      <link>https://community.qlik.com/t5/App-Development/Field-not-found-loading-data-from-QVD/m-p/2126367#M91667</link>
      <description>&lt;P&gt;thanks for responding.&lt;/P&gt;
&lt;P&gt;there is no column in historical QVD's&lt;/P&gt;
&lt;P&gt;last two back added that field in SQL, QVD and&amp;nbsp; &amp;nbsp;incremental QVD's reloading&amp;nbsp; &amp;nbsp;successfully.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2023 14:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Field-not-found-loading-data-from-QVD/m-p/2126367#M91667</guid>
      <dc:creator>bhaskar</dc:creator>
      <dc:date>2023-10-08T14:22:44Z</dc:date>
    </item>
  </channel>
</rss>

