<?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 Load all files from Google Drive in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-all-files-from-Google-Drive/m-p/1774503#M1232375</link>
    <description>&lt;P&gt;Hey guys&lt;/P&gt;&lt;P&gt;So, I've been extracting some data from an API and storing it on Google Drive. I want to be able to load all the files stored in a Google Drive folder at once.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;I used to do it like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;LIB CONNECT TO 'GoogleDrive';

LET vDataInicial = Date('01/01/2020','MM-YYYY');


DO WHILE vDataInicial &amp;lt;= Today()

LET vDataMes = Date(MonthStart(vDataInicial), 'YYYY-MM');

FOR Each vCentroCusto in FieldValueList('Id')

UnificaçãoDados:

LOAD * FROM [lib://GoogleDrive/1Pax60O_iXL5y-p288Ad1buiEsPUh4BkL/$(vDataMes)_ROES4E_$(vCentroCusto).qvd] (qvd);

NEXT vCentroCusto;

LET vDataMes = Date(vDataInicial, 'YYYY-MM');
LET vDataInicial = Date(AddMonths(vDataInicial, 1),'DD/MM/YYYY');

LOOP;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where &lt;STRONG&gt;vCentroCusto&lt;/STRONG&gt; comes from another Table previously loaded. But everynow and then there's new values for &lt;STRONG&gt;vCentroCusto&lt;/STRONG&gt; and there's no old files with that field on, so I get an error message like this one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Cannot open file: 'lib://GoogleDrive/1Pax60O_iXL5y-p288Ad1buiEsPUh4BkL/2020-01_ROES4E_158.qvd' (Connector error: Error getting metadata: NotFound)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because the &lt;STRONG&gt;vCentroCusto&lt;/STRONG&gt; = 158, only exists now so there's no files that contain this variable for last year.&lt;BR /&gt;&lt;BR /&gt;A solution to this would be to load all the files from the Google Drive folder without having to use these variables as it is said here "&lt;EM&gt;Wildcard/masking syntax is not supported. You may only load specified individual files, or all files in a specified folder.&lt;/EM&gt;&lt;SPAN&gt;" (link:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Web_Storage_Provider_Connectors_help/Content/Connectors_StorageProvider/Storage%20provider%20connectors/Dropbox-storage-provider-connector.htm" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;official qlik help&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;)&lt;/SPAN&gt;. How can I do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
    <dc:creator>bjagrelli</dc:creator>
    <dc:date>2026-01-26T16:26:21Z</dc:date>
    <item>
      <title>Load all files from Google Drive</title>
      <link>https://community.qlik.com/t5/QlikView/Load-all-files-from-Google-Drive/m-p/1774503#M1232375</link>
      <description>&lt;P&gt;Hey guys&lt;/P&gt;&lt;P&gt;So, I've been extracting some data from an API and storing it on Google Drive. I want to be able to load all the files stored in a Google Drive folder at once.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;I used to do it like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;LIB CONNECT TO 'GoogleDrive';

LET vDataInicial = Date('01/01/2020','MM-YYYY');


DO WHILE vDataInicial &amp;lt;= Today()

LET vDataMes = Date(MonthStart(vDataInicial), 'YYYY-MM');

FOR Each vCentroCusto in FieldValueList('Id')

UnificaçãoDados:

LOAD * FROM [lib://GoogleDrive/1Pax60O_iXL5y-p288Ad1buiEsPUh4BkL/$(vDataMes)_ROES4E_$(vCentroCusto).qvd] (qvd);

NEXT vCentroCusto;

LET vDataMes = Date(vDataInicial, 'YYYY-MM');
LET vDataInicial = Date(AddMonths(vDataInicial, 1),'DD/MM/YYYY');

LOOP;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where &lt;STRONG&gt;vCentroCusto&lt;/STRONG&gt; comes from another Table previously loaded. But everynow and then there's new values for &lt;STRONG&gt;vCentroCusto&lt;/STRONG&gt; and there's no old files with that field on, so I get an error message like this one:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Cannot open file: 'lib://GoogleDrive/1Pax60O_iXL5y-p288Ad1buiEsPUh4BkL/2020-01_ROES4E_158.qvd' (Connector error: Error getting metadata: NotFound)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because the &lt;STRONG&gt;vCentroCusto&lt;/STRONG&gt; = 158, only exists now so there's no files that contain this variable for last year.&lt;BR /&gt;&lt;BR /&gt;A solution to this would be to load all the files from the Google Drive folder without having to use these variables as it is said here "&lt;EM&gt;Wildcard/masking syntax is not supported. You may only load specified individual files, or all files in a specified folder.&lt;/EM&gt;&lt;SPAN&gt;" (link:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://help.qlik.com/en-US/connectors/Subsystems/Web_Storage_Provider_Connectors_help/Content/Connectors_StorageProvider/Storage%20provider%20connectors/Dropbox-storage-provider-connector.htm" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;official qlik help&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;)&lt;/SPAN&gt;. How can I do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-all-files-from-Google-Drive/m-p/1774503#M1232375</guid>
      <dc:creator>bjagrelli</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
  </channel>
</rss>

