<?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 change association in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813878#M287113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks Gysbert !!!&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following expression worked for me:&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;if(ParentGroup = '&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Konark Automobile&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;', 'East', Region) as Region&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2015 11:27:00 GMT</pubDate>
    <dc:creator>kavita25</dc:creator>
    <dc:date>2015-02-04T11:27:00Z</dc:date>
    <item>
      <title>How to change association</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813869#M287104</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;I have a new requirement :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Dealer locates in Central region, then how to change it to East region.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Dealer and Region are separate fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kavita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 11:17:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813869#M287104</guid>
      <dc:creator>kavita25</dc:creator>
      <dc:date>2015-02-03T11:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to change association</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813870#M287105</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;If this changes is only for one region.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then write if statement in script&lt;/P&gt;&lt;P&gt;if(wildmatch(region,'Central'),'East',region)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is for all region then better if you maintain in excel sheet of inline table&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;New_Region:&lt;/P&gt;&lt;P&gt;LOAD * INLINE[&lt;/P&gt;&lt;P&gt;Region,New_Region&lt;/P&gt;&lt;P&gt;Central, East&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to Association old Region field will associated with new_Region field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solve your problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 11:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813870#M287105</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-02-03T11:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to change association</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813871#M287106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the value of the Region field for that dealer from Central to East. You can do this in the script or preferable in the source system where your data ultimately comes from. If you want to do this the hard way you can use a dynamic update action (&lt;A href="https://community.qlik.com/docs/DOC-7373"&gt;Dynamic Update - Simple Database&lt;/A&gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Feb 2015 11:40:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813871#M287106</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-02-03T11:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to change association</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813872#M287107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This change is only for specific dealer not for all the dealers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 05:18:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813872#M287107</guid>
      <dc:creator>kavita25</dc:creator>
      <dc:date>2015-02-04T05:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to change association</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813873#M287108</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;If possible, Post sample apps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 05:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813873#M287108</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-02-04T05:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to change association</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813874#M287109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide the sample data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 05:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813874#M287109</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-02-04T05:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to change association</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813875#M287110</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;Here is the sample data where the Parent group "Konark Automobile" belongs to "Central" region, which should be change to "West" Region.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kavita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 06:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813875#M287110</guid>
      <dc:creator>kavita25</dc:creator>
      <dc:date>2015-02-04T06:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to change association</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813876#M287111</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;If you want to do this for mulitple Parent Group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintain Updated Parent Group with Old Region and New Region in Excel Sheet.&lt;/P&gt;&lt;P&gt;Then create key for ParentGroup&amp;amp;Region&lt;/P&gt;&lt;P&gt;Link between New Table with Existing Table using Key and Use New Region for Parent Group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Existing_Table:&lt;/P&gt;&lt;P&gt;Load ParentGroup,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Region,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ParentGroup&amp;amp;'-'&amp;amp;Region as Key&lt;/P&gt;&lt;P&gt;From existingTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//New_Table:&lt;/P&gt;&lt;P&gt;join&lt;/P&gt;&lt;P&gt;Load ParentGroup&amp;amp;'-'&amp;amp;Old_Region as Key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Temp_Region&lt;/P&gt;&lt;P&gt;From New_Excel_Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final_table:&lt;/P&gt;&lt;P&gt;Load ParentGroup,&lt;/P&gt;&lt;P&gt;if(isNull(Temp_Region),Region,Temp_Region) as New_Region&lt;/P&gt;&lt;P&gt;Resident Existing_Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Existing_Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 06:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813876#M287111</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-02-04T06:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to change association</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813877#M287112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ParentGroup, if(ParentGroup = '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Konark Automobile&lt;/SPAN&gt;', 'East', Region) as Region&lt;/P&gt;&lt;P&gt;FROM &lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(qvd) where region='Central' or region='West';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have more ParentGroups that should get another Region you can create a mapping table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapRegion:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;ParentGroup, Region&lt;/P&gt;&lt;P&gt;ABC, West&lt;/P&gt;&lt;P&gt;CDE, East&lt;/P&gt;&lt;P&gt;FGH, East&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...etc&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the applymap function to do the mapping:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyTable:&lt;/P&gt;&lt;P&gt;LOAD ParentGroup, applymap('MapRegion', ParentGroup, Region ) as Region&lt;/P&gt;&lt;P&gt;FROM &lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(qvd) where region='Central' or region='West';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 09:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813877#M287112</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-02-04T09:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to change association</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813878#M287113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks Gysbert !!!&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following expression worked for me:&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;if(ParentGroup = '&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Konark Automobile&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;', 'East', Region) as Region&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 11:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-change-association/m-p/813878#M287113</guid>
      <dc:creator>kavita25</dc:creator>
      <dc:date>2015-02-04T11:27:00Z</dc:date>
    </item>
  </channel>
</rss>

