<?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: How to modify the same values in more than hundred distinct fields? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196360#M385898</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whow, Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Almost there. In fact, as I pointed before, the real fields names aren't Question1, Question2, Question3...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to keep the real questions as fields names, as I have in my data base. For example: "Do you believe working here for the next 5 years?" as one field name.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 09-30-16 at 12.49 PM.JPG" class="jive-image image-1" src="/legacyfs/online/139307_Screen Shot 09-30-16 at 12.49 PM.JPG" style="height: 256px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Sep 2016 15:50:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-09-30T15:50:25Z</dc:date>
    <item>
      <title>How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196352#M385890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data base with more than hundred fields, each one with exactly the same values sets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to change some values on every field. For example, "OK" instead of "Yes", as I show on the example below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 09-30-16 at 11.40 AM.JPG" class="jive-image image-1" src="/legacyfs/online/139284_Screen Shot 09-30-16 at 11.40 AM.JPG" style="height: 197px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;* It's not the real situation above (I've created this example just to illustrate the problem. In fact, the real fields are a lot of different questions, as "Do you like to work here?")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;How can I do this through Qilkview's load script? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I know if I have to do this in just one field is quite simple. But if I want to do this in more than hundred distinct fields at once?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Tks!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 14:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196352#M385890</guid>
      <dc:creator />
      <dc:date>2016-09-30T14:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196353#M385891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be doing a CrossTable might help and then to bring it back you might be able to use Generic load or something similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 14:58:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196353#M385891</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-30T14:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196354#M385892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried this. But I need the original structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196354#M385892</guid>
      <dc:creator />
      <dc:date>2016-09-30T15:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196355#M385893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will get back the original structure. Let me get you a working sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196355#M385893</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-30T15:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196356#M385894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this could be done with a mapping like here: &lt;A href="http://qlikviewcookbook.com/2013/01/filling-default-values-using-mapping/" title="http://qlikviewcookbook.com/2013/01/filling-default-values-using-mapping/"&gt;Filling Default Values Using Mapping | Qlikview Cookbook&lt;/A&gt; by replacing NULL with a real value - changing YES into OK should be work similary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196356#M385894</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-09-30T15:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196357#M385895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow, this is much simpler then my long approach. I am going to hold off to working on a sample &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:14:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196357#M385895</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-30T15:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196358#M385896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But on your example we have a few fields to mapping. It's quite simple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New', Courier, monospace; font-size: 16px; color: #2b2b2b;"&gt;MAP Shipped USING YNMap;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New', Courier, monospace; font-size: 16px; color: #2b2b2b;"&gt;MAP BackOrdered USING YNMap;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New', Courier, monospace; font-size: 16px; color: #2b2b2b;"&gt;MAP ProductDesc USING MissingMap;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;On my situation, I have hundreds fields to mapping...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196358#M385896</guid>
      <dc:creator />
      <dc:date>2016-09-30T15:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196359#M385897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this is what i was proposing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CrossTable(Question, Answer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Question1, Question2, Question150&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID01, Yes, No, Maybe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID02, Maybe, Yes, Maybe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID03, No, Yes, Maybe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID04, No, Yes, Maybe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID05, No, No, Maybe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID06, Yes, No, Maybe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID07, Maybe, No, No&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID08, Yes, Yes, Yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID2560, Yes, Yes, Yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NextTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Question,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Answer = 'Yes', 'OK', Answer) as Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Distinct ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident NextTable;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR i = 1 to FieldValueCount('Question')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; LET vQuestion = FieldValue('Question', $(i));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Left Join (FinalTable)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; LOAD ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Answer as Question$(i)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Resident NextTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Where Question = '$(vQuestion)';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NEXT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Tables Table, NextTable;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139302_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196359#M385897</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-30T15:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196360#M385898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whow, Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Almost there. In fact, as I pointed before, the real fields names aren't Question1, Question2, Question3...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to keep the real questions as fields names, as I have in my data base. For example: "Do you believe working here for the next 5 years?" as one field name.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 09-30-16 at 12.49 PM.JPG" class="jive-image image-1" src="/legacyfs/online/139307_Screen Shot 09-30-16 at 12.49 PM.JPG" style="height: 256px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196360#M385898</guid>
      <dc:creator />
      <dc:date>2016-09-30T15:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196361#M385899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no tested.....may be something like this ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SOURCE:&lt;/P&gt;&lt;P&gt;LOAD ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Question1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Question2, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Question3&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;.........................);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET VCOLNO = NoOfFields('SOURCE');&amp;nbsp; // Countng number of columns&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; FOR I = 1 TO&amp;nbsp; NoOfFields('SOURCE')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; let vFieldname = fieldname$(i); &lt;SPAN style="font-size: 13.3333330154419px;"&gt; // Getting in to each column(field)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vNumRecords = FieldValueCount($(vFieldname));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(FieldValue='Yes','Ok',FieldValue)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; next &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 15:52:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196361#M385899</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-30T15:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196362#M385900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CrossTable(Question, Answer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Do you believe working here for the next 5 years?, Do you like to work here?, Do you feel motivated?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID01, Yes, No, Maybe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID02, Maybe, Yes, Maybe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID03, No, Yes, Maybe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID04, No, Yes, Maybe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID05, No, No, Maybe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID06, Yes, No, Maybe&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID07, Maybe, No, No&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID08, Yes, Yes, Yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID2560, Yes, Yes, Yes&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NextTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Question,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Answer = 'Yes', 'OK', Answer) as Answer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FinalTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Distinct ID&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident NextTable;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FOR i = 1 to FieldValueCount('Question')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; LET vQuestion = FieldValue('Question', $(i));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Left Join (FinalTable)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; LOAD ID,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Answer as &lt;SPAN style="color: #ff0000;"&gt;[$(vQuestion)]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Resident NextTable&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Where Question = '$(vQuestion)';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NEXT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Tables Table, NextTable;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 16:00:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196362#M385900</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-30T16:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196363#M385901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This could be done within a loop, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for i = 0 to nooftables() &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vTableName = tablename($(i)); &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for ii = 1 to nooffields('$(vTableName)') &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let vFieldName = fieldname($(ii), '$(vTableName)');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAP $(vFieldName) USING YNMap;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 16:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196363#M385901</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-09-30T16:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196364#M385902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's what I'm looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 16:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196364#M385902</guid>
      <dc:creator />
      <dc:date>2016-09-30T16:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify the same values in more than hundred distinct fields?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196365#M385903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Sunny's approach was more suitable for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 16:29:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-modify-the-same-values-in-more-than-hundred-distinct/m-p/1196365#M385903</guid>
      <dc:creator />
      <dc:date>2016-09-30T16:29:31Z</dc:date>
    </item>
  </channel>
</rss>

