<?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 Chart Dimensions in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565295#M41170</link>
    <description>&lt;P&gt;I am trying to create a simple pie chart. The dimension is 'Gender' and the Measure is =count(UserID).&lt;/P&gt;&lt;P&gt;The problem I am running into, is that the Gender field has the following values:&lt;/P&gt;&lt;P&gt;-FEMALE&lt;/P&gt;&lt;P&gt;-Female&lt;/P&gt;&lt;P&gt;-rbtFemale&lt;/P&gt;&lt;P&gt;-MALE&lt;/P&gt;&lt;P&gt;-Male&lt;/P&gt;&lt;P&gt;-rbtMale&lt;/P&gt;&lt;P&gt;I would like to group the values that contain Female into 'Female' and the values that have Male into 'Male'&lt;/P&gt;&lt;P&gt;How can I go about doing this?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2019 15:32:57 GMT</pubDate>
    <dc:creator>EvanBarrick</dc:creator>
    <dc:date>2019-04-04T15:32:57Z</dc:date>
    <item>
      <title>Chart Dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565295#M41170</link>
      <description>&lt;P&gt;I am trying to create a simple pie chart. The dimension is 'Gender' and the Measure is =count(UserID).&lt;/P&gt;&lt;P&gt;The problem I am running into, is that the Gender field has the following values:&lt;/P&gt;&lt;P&gt;-FEMALE&lt;/P&gt;&lt;P&gt;-Female&lt;/P&gt;&lt;P&gt;-rbtFemale&lt;/P&gt;&lt;P&gt;-MALE&lt;/P&gt;&lt;P&gt;-Male&lt;/P&gt;&lt;P&gt;-rbtMale&lt;/P&gt;&lt;P&gt;I would like to group the values that contain Female into 'Female' and the values that have Male into 'Male'&lt;/P&gt;&lt;P&gt;How can I go about doing this?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 15:32:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565295#M41170</guid>
      <dc:creator>EvanBarrick</dc:creator>
      <dc:date>2019-04-04T15:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565337#M41171</link>
      <description>Why dont you add a new column to your dimension table&lt;BR /&gt;e.g. if(Index(lower(GENDER),'female')&amp;gt;0,'Female','Male') as Gender_New&lt;BR /&gt;&lt;BR /&gt;or you can create a calculated dimension which does the same&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Apr 2019 16:44:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565337#M41171</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-04-04T16:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565455#M41179</link>
      <description>&lt;P&gt;I understand the logic but cannot make work for my solution.&lt;/P&gt;&lt;P&gt;Would there be a way in my script to do something along the lines of:&lt;/P&gt;&lt;P&gt;IF(Gender = 'Male' or Gender = 'MALE' or Gender = 'rbtMale') then maleGender&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then do the same for Female?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 20:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565455#M41179</guid>
      <dc:creator>EvanBarrick</dc:creator>
      <dc:date>2019-04-04T20:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565457#M41180</link>
      <description>&lt;P&gt;Yes you can . But my solution is a little more efficient&lt;/P&gt;&lt;P&gt;Why doesn't the other one work? Share the one you used&lt;/P&gt;&lt;P&gt;Actually a better solution would be to load your substitution as a map.&lt;/P&gt;&lt;P&gt;E.g.&lt;/P&gt;&lt;P&gt;GenderMap:&lt;/P&gt;&lt;P&gt;Load&amp;nbsp; * inline [&lt;/P&gt;&lt;P&gt;Gender, GenderValue&lt;/P&gt;&lt;P&gt;Male, Male&lt;/P&gt;&lt;P&gt;rbtMale, Male&lt;/P&gt;&lt;P&gt;rbtMale, Female&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then use applymap on your load.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2019 20:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565457#M41180</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-04-04T20:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565860#M41234</link>
      <description>&lt;P&gt;I am loading this as the map table:&lt;/P&gt;&lt;P&gt;GenderMap:&lt;BR /&gt;Mapping LOAD * INLINE&lt;BR /&gt;[Gender, GenderValue,&lt;BR /&gt;Male, Male&lt;BR /&gt;MALE, Male&lt;BR /&gt;rbtMale, Male&lt;BR /&gt;Female, Female&lt;BR /&gt;FEMALE, Female&lt;BR /&gt;rbtFemale, Female&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then in my main load, I am attempting to do this:&lt;/P&gt;&lt;P&gt;ApplyMap('GenderMap', Gender, 'GenderValue') as newGender,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;however I get an error message of 'map_id' not found. Is my format incorrect?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 15:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565860#M41234</guid>
      <dc:creator>EvanBarrick</dc:creator>
      <dc:date>2019-04-05T15:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565876#M41258</link>
      <description>&lt;P&gt;looks allright i checked locally with another dummy table and it works. check your script more carefully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;to debug&lt;/P&gt;&lt;P&gt;&lt;EM&gt;1. Remove the "Mapping" prefix from the gendermap&amp;nbsp; load .&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;2. Place an "Exit Script;" statement after the load of the "GenderMap" load and then reload.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Does the "GenderMap" table appear in the table viewer?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Also i am assuming load with the applymap statement comes after the mapping load.&lt;/P&gt;&lt;P&gt;couple of other things.&lt;/P&gt;&lt;P&gt;remove the extra comma from load inline&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mapping LOAD * INLINE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[Gender, GenderValue&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;should not be cause of error but your apply map does not need the 3rd parameter. third parameter is the default value&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;ApplyMap('GenderMap', Gender) as newGender&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;should be enough&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2019 15:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565876#M41258</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-04-05T15:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Chart Dimensions</title>
      <link>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565878#M41259</link>
      <description>Create a new columns using this&lt;BR /&gt;&lt;BR /&gt;if(WildMatch(Gender,'*Female*'),'Female','Male') as GenderNew&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Fri, 05 Apr 2019 15:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Chart-Dimensions/m-p/1565878#M41259</guid>
      <dc:creator>patilamay</dc:creator>
      <dc:date>2019-04-05T15:46:24Z</dc:date>
    </item>
  </channel>
</rss>

