<?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 error loading data in Qlik Compose</title>
    <link>https://community.qlik.com/t5/Qlik-Compose/error-loading-data/m-p/2056349#M1800</link>
    <description>&lt;P&gt;Hello, I'm with problems to load my data, someone could help me with that please?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know whats is happening, because in a month ago It was working normally, and suddenly, the same script, the same data, was not working.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone know how to fix that?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;follow the loading script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[sessions]:&lt;BR /&gt;SELECT &lt;BR /&gt;id as session,&lt;BR /&gt;kind as kind_session,&lt;BR /&gt;ticket,&lt;BR /&gt;agent,&lt;BR /&gt;queue,&lt;BR /&gt;channel,&lt;BR /&gt;provider,&lt;BR /&gt;"started_at",&lt;BR /&gt;"finished_at",&lt;BR /&gt;"year",&lt;BR /&gt;"month"&lt;BR /&gt;FROM AwsDataCatalog."customer_cx".sessions;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[queues]:&lt;BR /&gt;SELECT &lt;BR /&gt;"id" as queue,&lt;BR /&gt;"name" as queue_name,&lt;BR /&gt;"channel",&lt;BR /&gt;"area" as queue_area,&lt;BR /&gt;if("country" = 'BR' , 'BRASIL' , 'MEXICO') as queue_country&lt;BR /&gt;FROM AwsDataCatalog."customer_cx".queues;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[eventline]:&lt;BR /&gt;SELECT &lt;BR /&gt;ticket,&lt;BR /&gt;agent,&lt;BR /&gt;channel,&lt;BR /&gt;provider,&lt;BR /&gt;queue,&lt;BR /&gt;date(moment) as moment,&lt;BR /&gt;event,&lt;BR /&gt;kind as eventline_kind,&lt;BR /&gt;payload &lt;BR /&gt;FROM AwsDataCatalog."customer_cx".eventline;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[daily_vision]:&lt;BR /&gt;SELECT &lt;BR /&gt;"date",&lt;BR /&gt;if("country" = 'BR' , 'BRASIL' , 'MEXICO') as daily_vision_country,&lt;BR /&gt;"active_drivers"&lt;BR /&gt;FROM AwsDataCatalog.enrichments."daily_vision";&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[tickets]:&lt;BR /&gt;SELECT &lt;BR /&gt;id as ticket,&lt;BR /&gt;"created_at",&lt;BR /&gt;driver as driver_id,&lt;BR /&gt;city as ticket_city,&lt;BR /&gt;state as ticket_state,&lt;BR /&gt;if("country" = 'BR' , 'BRASIL' , 'MEXICO') as ticket_country,&lt;BR /&gt;direction,&lt;BR /&gt;"conversation_segment_link",&lt;BR /&gt;"ticket_rating",&lt;BR /&gt;"caller_phone",&lt;BR /&gt;"dialed_number"&lt;BR /&gt;FROM AwsDataCatalog."customer_cx".tickets;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[channels]:&lt;BR /&gt;SELECT id as channel,&lt;BR /&gt;name as channel_name,&lt;BR /&gt;kind as channel_kind,&lt;BR /&gt;provider&lt;BR /&gt;FROM AwsDataCatalog."customer_cx".channels;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[agents]:&lt;BR /&gt;SELECT id as agent,&lt;BR /&gt;email&lt;BR /&gt;FROM AwsDataCatalog."customer_cx".agents;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[providers]:&lt;BR /&gt;SELECT id as provider,&lt;BR /&gt;name as provider_name&lt;BR /&gt;FROM AwsDataCatalog."customer_cx".providers;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;"date_moment",&lt;BR /&gt;country,&lt;BR /&gt;active_drivers;&lt;/P&gt;
&lt;P&gt;[daily_vision]:&lt;BR /&gt;SELECT "date" as date_moment,&lt;BR /&gt;country,&lt;BR /&gt;active_drivers&lt;BR /&gt;FROM AwsDataCatalog.enrichments."daily_vision";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 15:56:15 GMT</pubDate>
    <dc:creator>elislopes261</dc:creator>
    <dc:date>2025-03-20T15:56:15Z</dc:date>
    <item>
      <title>error loading data</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/error-loading-data/m-p/2056349#M1800</link>
      <description>&lt;P&gt;Hello, I'm with problems to load my data, someone could help me with that please?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know whats is happening, because in a month ago It was working normally, and suddenly, the same script, the same data, was not working.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Someone know how to fix that?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;follow the loading script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[sessions]:&lt;BR /&gt;SELECT &lt;BR /&gt;id as session,&lt;BR /&gt;kind as kind_session,&lt;BR /&gt;ticket,&lt;BR /&gt;agent,&lt;BR /&gt;queue,&lt;BR /&gt;channel,&lt;BR /&gt;provider,&lt;BR /&gt;"started_at",&lt;BR /&gt;"finished_at",&lt;BR /&gt;"year",&lt;BR /&gt;"month"&lt;BR /&gt;FROM AwsDataCatalog."customer_cx".sessions;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[queues]:&lt;BR /&gt;SELECT &lt;BR /&gt;"id" as queue,&lt;BR /&gt;"name" as queue_name,&lt;BR /&gt;"channel",&lt;BR /&gt;"area" as queue_area,&lt;BR /&gt;if("country" = 'BR' , 'BRASIL' , 'MEXICO') as queue_country&lt;BR /&gt;FROM AwsDataCatalog."customer_cx".queues;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[eventline]:&lt;BR /&gt;SELECT &lt;BR /&gt;ticket,&lt;BR /&gt;agent,&lt;BR /&gt;channel,&lt;BR /&gt;provider,&lt;BR /&gt;queue,&lt;BR /&gt;date(moment) as moment,&lt;BR /&gt;event,&lt;BR /&gt;kind as eventline_kind,&lt;BR /&gt;payload &lt;BR /&gt;FROM AwsDataCatalog."customer_cx".eventline;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[daily_vision]:&lt;BR /&gt;SELECT &lt;BR /&gt;"date",&lt;BR /&gt;if("country" = 'BR' , 'BRASIL' , 'MEXICO') as daily_vision_country,&lt;BR /&gt;"active_drivers"&lt;BR /&gt;FROM AwsDataCatalog.enrichments."daily_vision";&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[tickets]:&lt;BR /&gt;SELECT &lt;BR /&gt;id as ticket,&lt;BR /&gt;"created_at",&lt;BR /&gt;driver as driver_id,&lt;BR /&gt;city as ticket_city,&lt;BR /&gt;state as ticket_state,&lt;BR /&gt;if("country" = 'BR' , 'BRASIL' , 'MEXICO') as ticket_country,&lt;BR /&gt;direction,&lt;BR /&gt;"conversation_segment_link",&lt;BR /&gt;"ticket_rating",&lt;BR /&gt;"caller_phone",&lt;BR /&gt;"dialed_number"&lt;BR /&gt;FROM AwsDataCatalog."customer_cx".tickets;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[channels]:&lt;BR /&gt;SELECT id as channel,&lt;BR /&gt;name as channel_name,&lt;BR /&gt;kind as channel_kind,&lt;BR /&gt;provider&lt;BR /&gt;FROM AwsDataCatalog."customer_cx".channels;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[agents]:&lt;BR /&gt;SELECT id as agent,&lt;BR /&gt;email&lt;BR /&gt;FROM AwsDataCatalog."customer_cx".agents;&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;*;&lt;/P&gt;
&lt;P&gt;[providers]:&lt;BR /&gt;SELECT id as provider,&lt;BR /&gt;name as provider_name&lt;BR /&gt;FROM AwsDataCatalog."customer_cx".providers;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LIB CONNECT TO [Global:Athena];&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;"date_moment",&lt;BR /&gt;country,&lt;BR /&gt;active_drivers;&lt;/P&gt;
&lt;P&gt;[daily_vision]:&lt;BR /&gt;SELECT "date" as date_moment,&lt;BR /&gt;country,&lt;BR /&gt;active_drivers&lt;BR /&gt;FROM AwsDataCatalog.enrichments."daily_vision";&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 15:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/error-loading-data/m-p/2056349#M1800</guid>
      <dc:creator>elislopes261</dc:creator>
      <dc:date>2025-03-20T15:56:15Z</dc:date>
    </item>
  </channel>
</rss>

