<?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: Inline Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Inline-Table/m-p/1447548#M433634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;his intention is, You could need Mapping table each row and then use the Applymap() in help. then create others which is not required they are allocated to OTHERS. That is how his intention&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2017 04:40:23 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-08-23T04:40:23Z</dc:date>
    <item>
      <title>Inline Table</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-Table/m-p/1447545#M433631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a data set that has multiple cities, that are grouped in to Northtowns, Southtowns City and Other.&amp;nbsp; This data set will continue to grow as new people register their address and people from outside of the area (who do not fit in to these categories) will enter new items in the "Other" category.&amp;nbsp; Is there a way to make an inline table like the one below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TBL_Area:&lt;/P&gt;&lt;P&gt;LOAD * INLINE&lt;/P&gt;&lt;P&gt;[ City, AreaName&lt;/P&gt;&lt;P&gt;CityX,&amp;nbsp; City&lt;/P&gt;&lt;P&gt;CityY, Northtown&lt;/P&gt;&lt;P&gt;CityA, Northtown&lt;/P&gt;&lt;P&gt;CityB, Southtown&lt;/P&gt;&lt;P&gt;CityC, Southtown&lt;/P&gt;&lt;P&gt;CityD, Southtown&lt;/P&gt;&lt;P&gt;Other, Other ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will not be a value of "Other" in the data set, but is there a way to have the inline table group all other values in to a single category?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 18:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-Table/m-p/1447545#M433631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-22T18:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Table</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-Table/m-p/1447546#M433632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, there are multiple ways to tackle this problem of extensibility. One could be to use an applymap() call with a default value. This can be done in a number of scenarios. The simplest one is detailed below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a mapping table with the known and categorised cities. You can use your example and simply add the Mapping keyword in front. Convert their names to upper case. Do not include an 'Other' category.&lt;/P&gt;&lt;P&gt;Load your source data into a resident table. It should include a field called City. Expand your LOAD statement with a piece of code like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ApplyMap('TBL_Area', Upper(City), 'Other') AS AreaName,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FROM ...;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your table will now contain an AreaName for all known cities. The others will have the default AreaName 'Other'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 19:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-Table/m-p/1447546#M433632</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-08-22T19:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Table</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-Table/m-p/1447547#M433633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where would i put this load statement? At the end of the inline?&amp;nbsp; Or where i previously loaded the City field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 19:13:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-Table/m-p/1447547#M433633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-22T19:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Table</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-Table/m-p/1447548#M433634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;his intention is, You could need Mapping table each row and then use the Applymap() in help. then create others which is not required they are allocated to OTHERS. That is how his intention&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 04:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-Table/m-p/1447548#M433634</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-23T04:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Table</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-Table/m-p/1447549#M433635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create one mapping table of City and Area.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TBL_Area:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mapping LOAD * INLINE&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[ City, AreaName&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CityX,&amp;nbsp; City&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CityY, Northtown&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CityA, Northtown&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CityB, Southtown&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CityC, Southtown&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CityD, Southtown];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And&amp;nbsp; use applymap inside your load script of fact/dimension. and put 'other' as default value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ApplyMap('TBL_AREA',City_Field,'Other') as Area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 04:47:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-Table/m-p/1447549#M433635</guid>
      <dc:creator>balar025</dc:creator>
      <dc:date>2017-08-23T04:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Inline Table</title>
      <link>https://community.qlik.com/t5/QlikView/Inline-Table/m-p/1447550#M433636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like the below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TBL_Area:&lt;/P&gt;&lt;P&gt;LOAD if( SubField('Rest,Other',',')='Other','Other', City) as City, AreaName , City as City1&amp;nbsp; INLINE&lt;/P&gt;&lt;P&gt;[ City, AreaName &lt;/P&gt;&lt;P&gt;CityX,&amp;nbsp; City&lt;/P&gt;&lt;P&gt;CityY, Northtown&lt;/P&gt;&lt;P&gt;CityA, Northtown&lt;/P&gt;&lt;P&gt;CityB, Southtown&lt;/P&gt;&lt;P&gt;CityC, Southtown&lt;/P&gt;&lt;P&gt;CityD, Southtown&lt;/P&gt;&lt;P&gt;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/174303_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 06:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Inline-Table/m-p/1447550#M433636</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2017-08-23T06:11:19Z</dc:date>
    </item>
  </channel>
</rss>

