<?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: Dynamic View Error in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamic-View-Error/m-p/2079358#M88535</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/12964"&gt;@srchagas&lt;/a&gt;&amp;nbsp;, I put my variables in string after in number but nothing works. I made the same request directly in Snowflake and they turned out fine…&lt;/P&gt;
&lt;P&gt;Here is the odag variable initialization script:&lt;/P&gt;
&lt;DIV&gt;IF '$(odagActive)' = '' THEN&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; TRACE ODAG variables not inserted, loading sample data;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; SET 'odag_MOIS_ANNEE' = '''202305''';&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; SET 'odag_ARTICLE_CODE' = '''MODELE', 'PALPFN''';&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; SET 'odag_CODE_SITE' = '''0000001126''';&lt;/DIV&gt;
&lt;DIV&gt;END IF;&lt;/DIV&gt;
&lt;DIV&gt;SET 'preset_MOIS_ANNEE' = $(odag_MOIS_ANNEE);&lt;/DIV&gt;
&lt;DIV&gt;SET 'preset_ARTICLE_CODE' = $(odag_ARTICLE_CODE);&lt;/DIV&gt;
&lt;DIV&gt;SET 'preset_CODE_SITE' = $(odag_CODE_SITE);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;And here I put the data loading script with the variables :&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;VENTES_DV:&lt;BR /&gt;LOAD &lt;BR /&gt;*; &lt;BR /&gt;SELECT&lt;BR /&gt;"Ticket_Caisse_Valide_Site_Identifiant" as "CODE_SITE",&lt;BR /&gt;RIGHT("Ticket_Caisse_Valide_Article_Code", 6 ) as ARTICLE_CODE,&lt;BR /&gt;"Calendrier_Mois_Code" AS MOIS_ANNEE,&lt;BR /&gt;sum("Ticket_Caisse_Valide_Montant_Ligne_Montant_NET") as FVTE_CA_PVP_TTC_NET,&lt;/P&gt;
&lt;P&gt;FROM "DATASERVICE"."V_F_TICKET_CAISSE_VALIDE_LIGNES"&lt;BR /&gt;LEFT JOIN v_d_calendrier&lt;BR /&gt;ON to_date("Ticket_Caisse_Valide_Date_Enregistrement") = v_d_calendrier."Calendrier_Date"&lt;BR /&gt;WHERE (case&lt;BR /&gt;when concat($(odag_MOIS_ANNEE))='' then 1=1&lt;BR /&gt;else "Calendrier_Mois_Code" = &lt;BR /&gt;(SELECT MAX("Calendrier_Mois_Code")&lt;BR /&gt;FROM v_d_calendrier&lt;BR /&gt;WHERE "Calendrier_Mois_Code" IN ($(odag_MOIS_ANNEE)))&lt;BR /&gt;end) &lt;BR /&gt;AND (case&lt;BR /&gt;when concat($(odag_ARTICLE_CODE))='' then 1=1&lt;BR /&gt;else RIGHT("Ticket_Caisse_Valide_Article_Code", 6 ) in ($(odag_ARTICLE_CODE)))&lt;BR /&gt;end)&lt;BR /&gt;AND (case&lt;BR /&gt;when concat($(odag_CODE_SITE))='' then 1=1&lt;BR /&gt;else "Ticket_Caisse_Valide_Site_Identifiant" in ($(odag_CODE_SITE))&lt;BR /&gt;end) &lt;BR /&gt;GROUP BY 1, 2, 3;&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 02 Jun 2023 10:14:00 GMT</pubDate>
    <dc:creator>Patfoort47</dc:creator>
    <dc:date>2023-06-02T10:14:00Z</dc:date>
    <item>
      <title>Dynamic View Error</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-View-Error/m-p/2079318#M88528</link>
      <description>&lt;P&gt;Hello, I have a similar error with Dynamic View.&lt;/P&gt;
&lt;P&gt;The error is: Type Error: Cannot read properties of undefined ( reading '0').&lt;/P&gt;
&lt;P&gt;This happens when loading dynamic view graphics. But it can disappear by applying filters but can also come back… I don't really understand how it appears and where the problem comes from Would you be where it comes from?&lt;/P&gt;
&lt;P&gt;I have attached a screenshot.&amp;nbsp;thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 09:01:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-View-Error/m-p/2079318#M88528</guid>
      <dc:creator>Patfoort47</dc:creator>
      <dc:date>2023-06-02T09:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic View Error</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-View-Error/m-p/2079333#M88530</link>
      <description>&lt;P&gt;This errors happens&amp;nbsp; when one of your filters has been set like a number and you are giving him&amp;nbsp; string, so he can't not interpret the data correctly , check on the selections if everything is matching.&lt;BR /&gt;&lt;BR /&gt;Or you sending a parameter with doesn't not exist.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 09:33:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-View-Error/m-p/2079333#M88530</guid>
      <dc:creator>srchagas</dc:creator>
      <dc:date>2023-06-02T09:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic View Error</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-View-Error/m-p/2079358#M88535</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/12964"&gt;@srchagas&lt;/a&gt;&amp;nbsp;, I put my variables in string after in number but nothing works. I made the same request directly in Snowflake and they turned out fine…&lt;/P&gt;
&lt;P&gt;Here is the odag variable initialization script:&lt;/P&gt;
&lt;DIV&gt;IF '$(odagActive)' = '' THEN&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt; TRACE ODAG variables not inserted, loading sample data;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; SET 'odag_MOIS_ANNEE' = '''202305''';&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; SET 'odag_ARTICLE_CODE' = '''MODELE', 'PALPFN''';&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp; &amp;nbsp; SET 'odag_CODE_SITE' = '''0000001126''';&lt;/DIV&gt;
&lt;DIV&gt;END IF;&lt;/DIV&gt;
&lt;DIV&gt;SET 'preset_MOIS_ANNEE' = $(odag_MOIS_ANNEE);&lt;/DIV&gt;
&lt;DIV&gt;SET 'preset_ARTICLE_CODE' = $(odag_ARTICLE_CODE);&lt;/DIV&gt;
&lt;DIV&gt;SET 'preset_CODE_SITE' = $(odag_CODE_SITE);&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;And here I put the data loading script with the variables :&lt;/DIV&gt;
&lt;DIV&gt;
&lt;P&gt;VENTES_DV:&lt;BR /&gt;LOAD &lt;BR /&gt;*; &lt;BR /&gt;SELECT&lt;BR /&gt;"Ticket_Caisse_Valide_Site_Identifiant" as "CODE_SITE",&lt;BR /&gt;RIGHT("Ticket_Caisse_Valide_Article_Code", 6 ) as ARTICLE_CODE,&lt;BR /&gt;"Calendrier_Mois_Code" AS MOIS_ANNEE,&lt;BR /&gt;sum("Ticket_Caisse_Valide_Montant_Ligne_Montant_NET") as FVTE_CA_PVP_TTC_NET,&lt;/P&gt;
&lt;P&gt;FROM "DATASERVICE"."V_F_TICKET_CAISSE_VALIDE_LIGNES"&lt;BR /&gt;LEFT JOIN v_d_calendrier&lt;BR /&gt;ON to_date("Ticket_Caisse_Valide_Date_Enregistrement") = v_d_calendrier."Calendrier_Date"&lt;BR /&gt;WHERE (case&lt;BR /&gt;when concat($(odag_MOIS_ANNEE))='' then 1=1&lt;BR /&gt;else "Calendrier_Mois_Code" = &lt;BR /&gt;(SELECT MAX("Calendrier_Mois_Code")&lt;BR /&gt;FROM v_d_calendrier&lt;BR /&gt;WHERE "Calendrier_Mois_Code" IN ($(odag_MOIS_ANNEE)))&lt;BR /&gt;end) &lt;BR /&gt;AND (case&lt;BR /&gt;when concat($(odag_ARTICLE_CODE))='' then 1=1&lt;BR /&gt;else RIGHT("Ticket_Caisse_Valide_Article_Code", 6 ) in ($(odag_ARTICLE_CODE)))&lt;BR /&gt;end)&lt;BR /&gt;AND (case&lt;BR /&gt;when concat($(odag_CODE_SITE))='' then 1=1&lt;BR /&gt;else "Ticket_Caisse_Valide_Site_Identifiant" in ($(odag_CODE_SITE))&lt;BR /&gt;end) &lt;BR /&gt;GROUP BY 1, 2, 3;&lt;BR /&gt;&lt;BR /&gt;thanks in advance&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Jun 2023 10:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-View-Error/m-p/2079358#M88535</guid>
      <dc:creator>Patfoort47</dc:creator>
      <dc:date>2023-06-02T10:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic View Error</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-View-Error/m-p/2079391#M88541</link>
      <description>&lt;P&gt;when you run directly the app&amp;nbsp; works ?&lt;BR /&gt;&amp;nbsp;does the field are with&amp;nbsp; "_" or space? , the odag name field has ben equals to the app will sent the parameters&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 11:16:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-View-Error/m-p/2079391#M88541</guid>
      <dc:creator>srchagas</dc:creator>
      <dc:date>2023-06-02T11:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic View Error</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-View-Error/m-p/2079394#M88543</link>
      <description>&lt;P&gt;When launching the application it works since there is a default filter that selects few articles. But for example if I want to take all the articles it does not work and displays the error marked above.&lt;/P&gt;
&lt;P&gt;In terms of naming, I used the same field with the same name to avoid bugs.&lt;/P&gt;
&lt;P&gt;The field is fine with "_" (ARTICLE_CODE") but there is no space.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 11:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-View-Error/m-p/2079394#M88543</guid>
      <dc:creator>Patfoort47</dc:creator>
      <dc:date>2023-06-02T11:37:56Z</dc:date>
    </item>
  </channel>
</rss>

