<?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: Force a value after load in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992093#M82090</link>
    <description>&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;Salut&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29012"&gt;@Mark_Little&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt; La table de service est une dimension.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 07:06:50 GMT</pubDate>
    <dc:creator>Ethan0079</dc:creator>
    <dc:date>2022-10-13T07:06:50Z</dc:date>
    <item>
      <title>Force a value after load</title>
      <link>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992069#M82079</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I would like to force the value of &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;NbrLits to&lt;/STRONG&gt; &lt;STRONG&gt;6&lt;/STRONG&gt;&lt;/FONT&gt; for the field &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;%KEY_Service =&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#FF0000"&gt; USI&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ethan0079_0-1665643256127.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91189iAF9C65BAB683BA5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ethan0079_0-1665643256127.png" alt="Ethan0079_0-1665643256127.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Service:
LOAD DISTINCT 
	%KEY_Service, 
    NbrLits, 
    %KEY_Service as Service
FROM 
    [lib://PROJECT/Artemis 7_7/02 Transform/QVD/DimService.qvd](qvd)
Where 
    %KEY_Service='US1D' or 
    %KEY_Service='US2'or 
    %KEY_Service='US3' or
    %KEY_Service='US4' or
    %KEY_Service='USRZ' or
    %KEY_Service='MAT' or
    %KEY_Service='USI';&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance !&lt;BR /&gt;Ethan&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 07:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992069#M82079</guid>
      <dc:creator>Ethan0079</dc:creator>
      <dc:date>2022-10-13T07:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Force a value after load</title>
      <link>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992086#M82080</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/202353"&gt;@Ethan0079&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depends on the data, is that a dimension or&amp;nbsp; a measure? I would look at doing it in script and concatenate the value on you want. Otherwise you would need a calculated measure or dimension wrapped in an if statement&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 07:03:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992086#M82080</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2022-10-13T07:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Force a value after load</title>
      <link>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992093#M82090</link>
      <description>&lt;P&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt;Salut&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29012"&gt;@Mark_Little&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT style="vertical-align: inherit;"&gt;&lt;FONT style="vertical-align: inherit;"&gt; La table de service est une dimension.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 07:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992093#M82090</guid>
      <dc:creator>Ethan0079</dc:creator>
      <dc:date>2022-10-13T07:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Force a value after load</title>
      <link>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992103#M82091</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/202353"&gt;@Ethan0079&lt;/a&gt;&amp;nbsp; Please follow the Script below used in the Back end:&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp:&lt;BR /&gt;Load * inline [&lt;BR /&gt;%Key_service,NbrLits, Service&lt;BR /&gt;US3,28,US3&lt;BR /&gt;US1,0,US1&lt;BR /&gt;US4,14,US4&lt;BR /&gt;USRZ,14,USRZ&lt;BR /&gt;US2,33,US2&lt;BR /&gt;MAT,13,MAT&lt;BR /&gt;US1D,11,US1D&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp1:&lt;BR /&gt;Load %Key_service,&lt;BR /&gt;if(%Key_service='US1',6,NbrLits) as NbrLits,&lt;BR /&gt;Service&lt;BR /&gt;&lt;BR /&gt;Resident Temp;&lt;/P&gt;
&lt;P&gt;Drop table Temp;&lt;/P&gt;
&lt;P&gt;Exit Script;&lt;/P&gt;
&lt;P&gt;If this resolves the issue, please like and accept it as a solution.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sidhiq91_0-1665645929296.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/91200i232B942ED14D923F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sidhiq91_0-1665645929296.png" alt="sidhiq91_0-1665645929296.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 07:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992103#M82091</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-10-13T07:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Force a value after load</title>
      <link>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992115#M82092</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/202353"&gt;@Ethan0079&lt;/a&gt;&lt;FONT color="#333333"&gt; if it's just this one value you intend to replace, perhaps an IF() would suffice&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;IF(Match(%KEY_Service,'USI'),6,NbrLits) as NbrLits &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#333333"&gt;Otherwise, if there's quite a number, an appropriate way is to create a mapping table with the old and new values, and then perform a lookup to change all the old values to the new values.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 07:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992115#M82092</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-10-13T07:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Force a value after load</title>
      <link>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992173#M82095</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6188"&gt;@sidhiq91&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for your answers it's works !&lt;BR /&gt;&lt;BR /&gt;I juste have to change de name of the Table and &lt;STRONG&gt;%Key_service&lt;/STRONG&gt; to &lt;STRONG&gt;%KEY_Service&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 08:51:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992173#M82095</guid>
      <dc:creator>Ethan0079</dc:creator>
      <dc:date>2022-10-13T08:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Force a value after load</title>
      <link>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992228#M82102</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/202353"&gt;@Ethan0079&lt;/a&gt;&amp;nbsp; You can also please like the post. Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 10:21:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Force-a-value-after-load/m-p/1992228#M82102</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-10-13T10:21:32Z</dc:date>
    </item>
  </channel>
</rss>

