<?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: change value in a table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201158#M880660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one solution could be to use ApplyMap, e.g. like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14756162298572580" jivemacro_uid="_14756162298572580"&gt;
&lt;P&gt;mapSLMStatus:&lt;/P&gt;
&lt;P&gt;Mapping LOAD * Inline [&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SLM_STATUS, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SLM_STATUS_ALIAS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;1,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Met SLA&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;2,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Escalated&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;3,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Breached SLA&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;incident_data:&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD FLD_TICKETID,&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status,&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('&lt;SPAN style="font-size: 13.3333px;"&gt;mapSLMStatus&lt;/SPAN&gt;',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SLM_STATUS&lt;/SPAN&gt;) as SLM_STATUS&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM \\qvtest\QlikView_Files\qvds\final\group\remedy\OP_Request_final.qvd (qvd)&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where not WildMatch(Status,'Withdrawn');&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Oct 2016 21:24:04 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2016-10-04T21:24:04Z</dc:date>
    <item>
      <title>change value in a table</title>
      <link>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201157#M880659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So hopefully this is my last quirk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am loading a table into qlikview, via a qvd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the field itself (SLM_STATUS) has values in it stored as 1, 2 and 3. So a particular ticket can be a 1, 2 or a 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i need to do is where the value is 1, i want it to show as "Met SLA"&lt;/P&gt;&lt;P&gt;2 to show as "Escalated"&lt;/P&gt;&lt;P&gt;3 to show as "Breached SLA"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The extract from the script is as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;incident_data:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;FLD_TICKETID,&lt;/P&gt;&lt;P&gt;Status,&lt;/P&gt;&lt;P&gt;SLM_STATUS&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;\\qvtest\QlikView_Files\qvds\final\group\remedy\OP_Request_final.qvd&lt;/P&gt;&lt;P&gt;(qvd)&lt;/P&gt;&lt;P&gt;where not WildMatch(Status,'Withdrawn');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ultimately, i want a pie chart showing the split, and also need to calculate a compliance of those that have breached against the total number of tickets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201157#M880659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: change value in a table</title>
      <link>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201158#M880660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one solution could be to use ApplyMap, e.g. like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14756162298572580" jivemacro_uid="_14756162298572580"&gt;
&lt;P&gt;mapSLMStatus:&lt;/P&gt;
&lt;P&gt;Mapping LOAD * Inline [&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SLM_STATUS, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SLM_STATUS_ALIAS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;1,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Met SLA&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;2,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Escalated&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;3,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Breached SLA&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;incident_data:&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD FLD_TICKETID,&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Status,&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('&lt;SPAN style="font-size: 13.3333px;"&gt;mapSLMStatus&lt;/SPAN&gt;',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SLM_STATUS&lt;/SPAN&gt;) as SLM_STATUS&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM \\qvtest\QlikView_Files\qvds\final\group\remedy\OP_Request_final.qvd (qvd)&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;where not WildMatch(Status,'Withdrawn');&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 21:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201158#M880660</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-10-04T21:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: change value in a table</title>
      <link>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201159#M880661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more stilton might be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick(field, '1','2','3', match('expected1','expected 2','expected 3'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 01:55:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201159#M880661</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-10-05T01:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: change value in a table</title>
      <link>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201160#M880662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually, if you have long list of values to be converted then use Apply map as Marco mentioned above. Otherwise you can use the below expression to get what you want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Pick(match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;SLM_STATUS&lt;/SPAN&gt;,1,2,3),'Met SLA','Escalated','Breached SLA')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 03:28:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201160#M880662</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-10-05T03:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: change value in a table</title>
      <link>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201161#M880663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use applymap &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 07:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201161#M880663</guid>
      <dc:creator>rajpreeths</dc:creator>
      <dc:date>2016-10-05T07:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: change value in a table</title>
      <link>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201162#M880664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your solution - worked a dream&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 09:11:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201162#M880664</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-05T09:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: change value in a table</title>
      <link>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201163#M880665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest a slight mod to Marco's excellent solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;&lt;STRONG&gt;Dual(&lt;/STRONG&gt;ApplyMap('mapSLMStatus',SLM_STATUS)&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;&lt;STRONG&gt;SLM_STATUS)&lt;/STRONG&gt;&lt;/SPAN&gt; as SLM_STATUS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;The addition of the dual() provides the ability to set the sort order in a chart to numeric and have the status values sort corectly. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px; background-color: #f8f8f8;"&gt;-Rob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 13:06:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201163#M880665</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-10-05T13:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: change value in a table</title>
      <link>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201164#M880666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you're welcome&lt;/P&gt;&lt;P&gt;glad I could help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2016 21:37:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/change-value-in-a-table/m-p/1201164#M880666</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-10-05T21:37:42Z</dc:date>
    </item>
  </channel>
</rss>

