<?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: QVD Generation in Qliksense in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/QVD-Generation-in-Qliksense/m-p/2143880#M93065</link>
    <description>&lt;P&gt;Here is the code in text:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Visit:&lt;BR /&gt;Load *;&lt;BR /&gt;SELECT&lt;BR /&gt;LTRIM( RTRIM(LOCATIONS.LOCATION_CODE))||'-'||LTRIM( RTRIM( ROUTES.ROUTE_CODE)) as Location_Route_Code,&lt;BR /&gt;BO_CALL_PLAN.Route_Key,&lt;BR /&gt;--LTRIM( RTRIM(LOCATIONS.LOCATION_CODE))||' '||LOCATIONS.LOCATION_NAME,&lt;BR /&gt;--LTRIM( RTRIM( AREA.AREA_CODE))||' '||AREA.AREA_NAME,&lt;BR /&gt;--LTRIM( RTRIM( ROUTES.ROUTE_CODE))||' '||ROUTES.ROUTE_DESC,&lt;BR /&gt;VISITED,&lt;BR /&gt;CALL_PLAN,&lt;BR /&gt;--'W '||LTRIM(TO_CHAR(CUSTOMER_CALENDAR.ALMARAI_YEAR, '9999'))||'/'||LTRIM(TO_CHAR(CUSTOMER_CALENDAR.ALMARAI_WEEK, '09')),&lt;BR /&gt;to_char(CUSTOMER_CALENDAR.END_DATE,'DD/MM/YYYY') as TransactionDate&lt;BR /&gt;FROM&lt;BR /&gt;LOCATIONS,&lt;BR /&gt;AREA,&lt;BR /&gt;ROUTES,&lt;BR /&gt;BO_CALL_PLAN,&lt;BR /&gt;CUSTOMER_CALENDAR&lt;BR /&gt;WHERE&lt;BR /&gt;( ROUTES.AREA_CODE=AREA.AREA_CODE and ROUTES.LOCATION_KEY=AREA.LOCATION_KEY )&lt;BR /&gt;AND ( LOCATIONS.LOCATION_KEY=AREA.LOCATION_KEY )&lt;BR /&gt;AND ( CUSTOMER_CALENDAR.TIME_KEY=BO_CALL_PLAN.TIME_KEY )&lt;BR /&gt;AND ( ROUTES.ROUTE_KEY=BO_CALL_PLAN.ROUTE_KEY )&lt;BR /&gt;AND &lt;BR /&gt;CUSTOMER_CALENDAR.ALMARAI_YEAR IN ( $(vCYear), $(vLYear));&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CustCount:&lt;BR /&gt;Load *;&lt;BR /&gt;select distinct count(customer_key) as customer_count, &lt;BR /&gt;location_code, to_char(current_date,'DD/MM/YYYY') as TransactionDate,&lt;BR /&gt;LTRIM( RTRIM(L.LOCATION_CODE))||'-'||LTRIM( RTRIM(R.ROUTE_CODE)) as Location_Route_Code,&lt;BR /&gt;c.Route_Key&lt;BR /&gt;from locations l, customers c , routes r, area a &lt;BR /&gt;where l.location_key = c.location_key&lt;BR /&gt;and R.AREA_CODE = a.area_code &lt;BR /&gt;and l.location_key = r.location_key&lt;BR /&gt;and r.location_key = a.location_key&lt;BR /&gt;and c.route_key = r.route_key&lt;BR /&gt;and c.active='Y'&lt;BR /&gt;group by location_code, to_char(current_date,'DD/MM/YYYY'),&lt;BR /&gt;LTRIM( RTRIM(L.LOCATION_CODE))||'-'||LTRIM( RTRIM(R.ROUTE_CODE)), c.Route_Key;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Dec 2023 12:20:15 GMT</pubDate>
    <dc:creator>Rakan</dc:creator>
    <dc:date>2023-12-04T12:20:15Z</dc:date>
    <item>
      <title>QVD Generation in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/QVD-Generation-in-Qliksense/m-p/2143879#M93064</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to get a qvd generation app from qlikview to qliksense however when I paste the script some parts of it show as green.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rakan_0-1701692126314.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120977iB15B3B29972E5373/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rakan_0-1701692126314.png" alt="Rakan_0-1701692126314.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Rakan_1-1701692162558.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120978i88A429F9818D3D28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Rakan_1-1701692162558.png" alt="Rakan_1-1701692162558.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;can you please help me with this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 12:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QVD-Generation-in-Qliksense/m-p/2143879#M93064</guid>
      <dc:creator>Rakan</dc:creator>
      <dc:date>2023-12-04T12:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: QVD Generation in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/QVD-Generation-in-Qliksense/m-p/2143880#M93065</link>
      <description>&lt;P&gt;Here is the code in text:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Visit:&lt;BR /&gt;Load *;&lt;BR /&gt;SELECT&lt;BR /&gt;LTRIM( RTRIM(LOCATIONS.LOCATION_CODE))||'-'||LTRIM( RTRIM( ROUTES.ROUTE_CODE)) as Location_Route_Code,&lt;BR /&gt;BO_CALL_PLAN.Route_Key,&lt;BR /&gt;--LTRIM( RTRIM(LOCATIONS.LOCATION_CODE))||' '||LOCATIONS.LOCATION_NAME,&lt;BR /&gt;--LTRIM( RTRIM( AREA.AREA_CODE))||' '||AREA.AREA_NAME,&lt;BR /&gt;--LTRIM( RTRIM( ROUTES.ROUTE_CODE))||' '||ROUTES.ROUTE_DESC,&lt;BR /&gt;VISITED,&lt;BR /&gt;CALL_PLAN,&lt;BR /&gt;--'W '||LTRIM(TO_CHAR(CUSTOMER_CALENDAR.ALMARAI_YEAR, '9999'))||'/'||LTRIM(TO_CHAR(CUSTOMER_CALENDAR.ALMARAI_WEEK, '09')),&lt;BR /&gt;to_char(CUSTOMER_CALENDAR.END_DATE,'DD/MM/YYYY') as TransactionDate&lt;BR /&gt;FROM&lt;BR /&gt;LOCATIONS,&lt;BR /&gt;AREA,&lt;BR /&gt;ROUTES,&lt;BR /&gt;BO_CALL_PLAN,&lt;BR /&gt;CUSTOMER_CALENDAR&lt;BR /&gt;WHERE&lt;BR /&gt;( ROUTES.AREA_CODE=AREA.AREA_CODE and ROUTES.LOCATION_KEY=AREA.LOCATION_KEY )&lt;BR /&gt;AND ( LOCATIONS.LOCATION_KEY=AREA.LOCATION_KEY )&lt;BR /&gt;AND ( CUSTOMER_CALENDAR.TIME_KEY=BO_CALL_PLAN.TIME_KEY )&lt;BR /&gt;AND ( ROUTES.ROUTE_KEY=BO_CALL_PLAN.ROUTE_KEY )&lt;BR /&gt;AND &lt;BR /&gt;CUSTOMER_CALENDAR.ALMARAI_YEAR IN ( $(vCYear), $(vLYear));&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CustCount:&lt;BR /&gt;Load *;&lt;BR /&gt;select distinct count(customer_key) as customer_count, &lt;BR /&gt;location_code, to_char(current_date,'DD/MM/YYYY') as TransactionDate,&lt;BR /&gt;LTRIM( RTRIM(L.LOCATION_CODE))||'-'||LTRIM( RTRIM(R.ROUTE_CODE)) as Location_Route_Code,&lt;BR /&gt;c.Route_Key&lt;BR /&gt;from locations l, customers c , routes r, area a &lt;BR /&gt;where l.location_key = c.location_key&lt;BR /&gt;and R.AREA_CODE = a.area_code &lt;BR /&gt;and l.location_key = r.location_key&lt;BR /&gt;and r.location_key = a.location_key&lt;BR /&gt;and c.route_key = r.route_key&lt;BR /&gt;and c.active='Y'&lt;BR /&gt;group by location_code, to_char(current_date,'DD/MM/YYYY'),&lt;BR /&gt;LTRIM( RTRIM(L.LOCATION_CODE))||'-'||LTRIM( RTRIM(R.ROUTE_CODE)), c.Route_Key;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 12:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QVD-Generation-in-Qliksense/m-p/2143880#M93065</guid>
      <dc:creator>Rakan</dc:creator>
      <dc:date>2023-12-04T12:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: QVD Generation in Qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/QVD-Generation-in-Qliksense/m-p/2143884#M93067</link>
      <description>&lt;P&gt;If it still runs, you can ignore the syntax highlighting. That said, I think the issue is the need for a space between the double pipes and whatever is next to them, e.g.&lt;/P&gt;
&lt;P&gt;LTRIM( RTRIM(LOCATIONS.LOCATION_CODE)) || '-' || LTRIM( RTRIM( ROUTES.ROUTE_CODE)) as Location_Route_Code,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Or_0-1701692668286.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/120980iB882A229204A548E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Or_0-1701692668286.png" alt="Or_0-1701692668286.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2023 12:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/QVD-Generation-in-Qliksense/m-p/2143884#M93067</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-12-04T12:24:35Z</dc:date>
    </item>
  </channel>
</rss>

