<?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: solution for script in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345144#M9969</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Zied,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please elaborate more on this? Also share the application file. This will help us to understand the problem and provide you expected inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Apr 2017 06:22:36 GMT</pubDate>
    <dc:creator>rahulpawarb</dc:creator>
    <dc:date>2017-04-20T06:22:36Z</dc:date>
    <item>
      <title>solution for script</title>
      <link>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345140#M9965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to use the result of the table &lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;Flotte_plaque&lt;/SPAN&gt; in the condition in red and use a condition like &lt;SPAN style="color: #ff0000; font-size: 13.3333px;"&gt;if(stat_flotte='ACTIF',1,0) as statut_actif,&lt;/SPAN&gt;(something like&lt;/P&gt;&lt;P&gt;if exist(plaque)...as statut INACTIF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;////*************set the qvd folder path************&lt;/P&gt;&lt;P&gt;SET vQvdPath=C:\Users\administrateur.VECTORYS\Desktop\Zied\qvdtest\\Qvdflotte;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// LOAD * FROM &lt;C&gt; (qvd) ;//source des QVDs historisés&lt;/C&gt;&lt;/P&gt;&lt;P&gt;//Concatenate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flotte:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * WHERE&amp;nbsp; "date_flotte"= Today();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Plate as Plaque_flotte,&lt;/P&gt;&lt;P&gt;Today() as date_flotte,&lt;/P&gt;&lt;P&gt;TrailerType as Materiel_flotte,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FrDes as Description,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ParkName as Parc_flotte,&lt;/P&gt;&lt;P&gt;&amp;nbsp; DateDebutBlocage,&lt;/P&gt;&lt;P&gt;&amp;nbsp; NoteBlocage,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SATUT as stat_flotte;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT Plate,&lt;/P&gt;&lt;P&gt;TrailerType,&lt;/P&gt;&lt;P&gt;&amp;nbsp; FrDes,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ParkName,&lt;/P&gt;&lt;P&gt;&amp;nbsp; DateDebutBlocage,&lt;/P&gt;&lt;P&gt;&amp;nbsp; NoteBlocage,&lt;/P&gt;&lt;P&gt;&amp;nbsp; SATUT&lt;/P&gt;&lt;P&gt;FROM Suivi_Echeances;&lt;/P&gt;&lt;P&gt;// ////*********store QVD**************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE [Flotte] into [$(vQvdPath)\Flotte.qvd](qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Flotte_plaque:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Load &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Plaque_flotte Resident Flotte;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Left Join (Flotte_plaque)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt; outer join(Fact_Final)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt; load Distinct Plaque&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt; resident Fact_Final Where NOT Exists(Plaque_flotte,Plaque);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Flotte1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Plaque_flotte ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Materiel_flotte,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; date_flotte,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&amp;nbsp; if(stat_flotte='ACTIF',1,0) as statut_actif,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(stat_flotte='INACTIF',1,0)&amp;nbsp; as statut_endom,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(stat_flotte='BLOQUE',1,0)&amp;nbsp; as statut_bloque&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resident Flotte;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop table Flotte;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 20:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345140#M9965</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2017-04-19T20:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: solution for script</title>
      <link>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345141#M9966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/212706"&gt;rahulpawarb&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 20:12:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345141#M9966</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2017-04-19T20:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: solution for script</title>
      <link>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345142#M9967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Zied,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trust that you are doing well!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I considered that table &lt;STRONG&gt;Flotte_plaque&lt;/STRONG&gt; &amp;amp; &lt;STRONG&gt;Flotte1&lt;/STRONG&gt; shares &lt;STRONG&gt;Plaque_flotte&lt;/STRONG&gt; common field (linkage between two). As a workaround I have used &lt;STRONG&gt;Mapping Load&lt;/STRONG&gt; feature &amp;amp; &lt;STRONG&gt;ApplyMap&lt;/STRONG&gt; function of QlikView (refer below given sample script):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14926608337717853" jivemacro_uid="_14926608337717853"&gt;
&lt;P&gt;Flotte_plaque:&lt;/P&gt;
&lt;P&gt;LOAD Plaque_flotte,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(stat_flotte='ACTIF',1,0) as statut_actif,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(stat_flotte='INACTIF',1,0)&amp;nbsp; as statut_endom,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(stat_flotte='BLOQUE',1,0)&amp;nbsp; as statut_bloque&lt;/P&gt;
&lt;P&gt;Resident Flotte;&lt;/P&gt;
&lt;P&gt;Left Join (Flotte_plaque)&lt;/P&gt;
&lt;P&gt;outer join(Fact_Final)&lt;/P&gt;
&lt;P&gt;LOAD Distinct Plaque &lt;/P&gt;
&lt;P&gt;resident Fact_Final&lt;/P&gt;
&lt;P&gt;Where NOT Exists(Plaque_flotte,Plaque);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//Mapping load to generate statut_actif&lt;/P&gt;
&lt;P&gt;Map_Flotte_plaque_statut_actif:&lt;/P&gt;
&lt;P&gt;MAPPING LOAD &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Plaque_flotte,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; statut_actif&lt;/P&gt;
&lt;P&gt;Resident Flotte_plaque;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//Mapping load to generate statut_endom&lt;/P&gt;
&lt;P&gt;Map_Flotte_plaque_statut_endom:&lt;/P&gt;
&lt;P&gt;MAPPING LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Plaque_flotte,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; statut_endom&lt;/P&gt;
&lt;P&gt;Resident Flotte_plaque;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;//Mapping load to generate statut_bloque&lt;/P&gt;
&lt;P&gt;Map_Flotte_plaque_statut_bloque:&lt;/P&gt;
&lt;P&gt;MAPPING LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Plaque_flotte,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; statut_bloque&lt;/P&gt;
&lt;P&gt;Resident Flotte_plaque;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Flotte1:&lt;/P&gt;
&lt;P&gt;LOAD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Plaque_flotte ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Materiel_flotte,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; date_flotte,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; //consume above defined mapping loads&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; ApplyMap('Map_Flotte_plaque_statut_actif', Plaque_flotte, 0) AS statut_actif,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; ApplyMap('Map_Flotte_plaque_statut_endom', Plaque_flotte, 0) AS statut_endom,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; ApplyMap('Map_Flotte_plaque_statut_bloque', Plaque_flotte, 0) AS statut_bloque&lt;/P&gt;
&lt;P&gt;Resident Flotte;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP TABLE Flotte;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be of help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 04:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345142#M9967</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-04-20T04:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: solution for script</title>
      <link>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345143#M9968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hello Rahul...how i can use the the result of this :&lt;/P&gt;&lt;P&gt;Left Join (Flotte_plaque)&lt;/P&gt;&lt;P&gt;outer join(Fact_Final)&lt;/P&gt;&lt;P&gt;LOAD Distinct Plaque &lt;/P&gt;&lt;P&gt;resident Fact_Final&lt;/P&gt;&lt;P&gt;Where NOT Exists(Plaque_flotte,Plaque);&lt;/P&gt;&lt;P&gt;I need condition like the stat_endom and stat_actif for the list of Plaque...&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 05:47:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345143#M9968</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2017-04-20T05:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: solution for script</title>
      <link>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345144#M9969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Zied,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please elaborate more on this? Also share the application file. This will help us to understand the problem and provide you expected inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 06:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345144#M9969</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-04-20T06:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: solution for script</title>
      <link>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345145#M9970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hello Rahul,&lt;/P&gt;&lt;P&gt;My problem is :&lt;/P&gt;&lt;P&gt;I have 2 tables: first table have the field Plaque (have all Plaques) &lt;/P&gt;&lt;P&gt;second table have the field Plaque_Flotte who have just a part of Plaques...so i use where exist to have the no common plaques (the difference) after that i need to affect these plaques to a statut like the stat_actif and the other stat in the next table&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 06:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345145#M9970</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2017-04-20T06:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: solution for script</title>
      <link>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345146#M9971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Zied,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understood, if you have two tables where you want to get a status field from one table into another table. You can achieve the same using Mapping Load functionality (refer above given examples).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if I misinterpreted (Also share the your application).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 03:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345146#M9971</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-04-21T03:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: solution for script</title>
      <link>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345147#M9972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rahul,&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;But i have found a solution i added a field '1' as statut_inactif in plaque_all and I concatenate it with the table where the other statut&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 08:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/solution-for-script/m-p/1345147#M9972</guid>
      <dc:creator>zied_ahmed1</dc:creator>
      <dc:date>2017-04-21T08:29:20Z</dc:date>
    </item>
  </channel>
</rss>

