<?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: Dimension based on another dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dimension-based-on-another-dimension/m-p/2431378#M96620</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I know an easier way, you don't even have to open your script editor for this, but loading the data is necessary:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to "Edit Sheet".&lt;/LI&gt;
&lt;LI&gt;Select "Left Fields".&lt;/LI&gt;
&lt;LI&gt;Click on "ADD Data".&lt;/LI&gt;
&lt;LI&gt;Choose "Manual entry".&lt;/LI&gt;
&lt;LI&gt;Rename the first field to "Title".&lt;/LI&gt;
&lt;LI&gt;Rename the second field to "Title Adjusted".&lt;/LI&gt;
&lt;LI&gt;Write the mapping correctly.&lt;/LI&gt;
&lt;LI&gt;Give a name to the table.&lt;/LI&gt;
&lt;LI&gt;Click on "Next" (to load the data).&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhanThanhSon_0-1710513372848.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162110i024C97B5089B4FC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="PhanThanhSon_0-1710513372848.png" alt="PhanThanhSon_0-1710513372848.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhanThanhSon_1-1710513417267.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162111i34C00F8E516F6EED/image-size/large?v=v2&amp;amp;px=999" role="button" title="PhanThanhSon_1-1710513417267.png" alt="PhanThanhSon_1-1710513417267.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will create a new table in the background without ever having been in the editor or having written an IF statement.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhanThanhSon_2-1710513449245.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162112i80156CCFF23B8210/image-size/large?v=v2&amp;amp;px=999" role="button" title="PhanThanhSon_2-1710513449245.png" alt="PhanThanhSon_2-1710513449245.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I would recommed you to work in the script directly but this solves your problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards Son&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Mar 2024 14:38:12 GMT</pubDate>
    <dc:creator>PhanThanhSon</dc:creator>
    <dc:date>2024-03-15T14:38:12Z</dc:date>
    <item>
      <title>Dimension based on another dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-based-on-another-dimension/m-p/2431363#M96616</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm looking for a way to handle this at sheet level (not script or using variables) so that I can have a dimension called "Title" to be based on a sort of if statement from another dimension called "Name"&lt;/P&gt;
&lt;P&gt;&lt;U&gt;I don't want to write if [Title]='Customer Support Engineer' then 'Technical Support Engineer'&lt;/U&gt;, but rather if [Name] is 'Mark' then the [Title] value should be used from 'Paul' instead (&lt;U&gt;'Technical Support Engineer')&lt;/U&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Load * Inline [&lt;/P&gt;
&lt;P&gt;ID, Name, Age, Title&lt;/P&gt;
&lt;P&gt;1, Wladimir, 31, Team Lead&lt;/P&gt;
&lt;P&gt;2, Paul, 22, Technical Support Engineer&lt;/P&gt;
&lt;P&gt;3, Mark, 40, Customer Support Engineer&lt;/P&gt;
&lt;P&gt;4, Janne, 27, IT Specialist&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="example_qlik_sense.jpg" style="width: 695px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162105iC11742DF5AFDCFF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="example_qlik_sense.jpg" alt="example_qlik_sense.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Try to handle this at a table level if possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 14:08:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-based-on-another-dimension/m-p/2431363#M96616</guid>
      <dc:creator>alessandrotk</dc:creator>
      <dc:date>2024-03-15T14:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension based on another dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-based-on-another-dimension/m-p/2431370#M96618</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;may be this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(match(Title,'&lt;SPAN&gt;Customer Support Engineer'),'Technical Support Engineer',Title)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 14:29:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-based-on-another-dimension/m-p/2431370#M96618</guid>
      <dc:creator>brunobertels</dc:creator>
      <dc:date>2024-03-15T14:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension based on another dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-based-on-another-dimension/m-p/2431378#M96620</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I know an easier way, you don't even have to open your script editor for this, but loading the data is necessary:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Go to "Edit Sheet".&lt;/LI&gt;
&lt;LI&gt;Select "Left Fields".&lt;/LI&gt;
&lt;LI&gt;Click on "ADD Data".&lt;/LI&gt;
&lt;LI&gt;Choose "Manual entry".&lt;/LI&gt;
&lt;LI&gt;Rename the first field to "Title".&lt;/LI&gt;
&lt;LI&gt;Rename the second field to "Title Adjusted".&lt;/LI&gt;
&lt;LI&gt;Write the mapping correctly.&lt;/LI&gt;
&lt;LI&gt;Give a name to the table.&lt;/LI&gt;
&lt;LI&gt;Click on "Next" (to load the data).&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhanThanhSon_0-1710513372848.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162110i024C97B5089B4FC0/image-size/large?v=v2&amp;amp;px=999" role="button" title="PhanThanhSon_0-1710513372848.png" alt="PhanThanhSon_0-1710513372848.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhanThanhSon_1-1710513417267.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162111i34C00F8E516F6EED/image-size/large?v=v2&amp;amp;px=999" role="button" title="PhanThanhSon_1-1710513417267.png" alt="PhanThanhSon_1-1710513417267.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will create a new table in the background without ever having been in the editor or having written an IF statement.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhanThanhSon_2-1710513449245.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162112i80156CCFF23B8210/image-size/large?v=v2&amp;amp;px=999" role="button" title="PhanThanhSon_2-1710513449245.png" alt="PhanThanhSon_2-1710513449245.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I would recommed you to work in the script directly but this solves your problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards Son&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 14:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-based-on-another-dimension/m-p/2431378#M96620</guid>
      <dc:creator>PhanThanhSon</dc:creator>
      <dc:date>2024-03-15T14:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension based on another dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-based-on-another-dimension/m-p/2431396#M96621</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/59097"&gt;@alessandrotk&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Following the idea given by &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48554"&gt;@brunobertels&lt;/a&gt;&amp;nbsp;, if there are other titles like 'Customer Support Engineer' and you just want to change Mark's, you can also add &lt;STRONG&gt;and&lt;/STRONG&gt; as follows:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE id="tw-target-text" class="tw-data-text tw-text-large tw-ta" dir="ltr" data-placeholder="Tradução" data-ved="2ahUKEwjr9sXhvfaEAxWBqJUCHfM_DosQ3ewLegQIBRAU"&gt;&lt;SPAN class="Y2IQFc"&gt;if(match(Title,'Customer Support Engineer') &lt;STRONG&gt;and Name='Mark'&lt;/STRONG&gt;,'Technical Support Engineer',Title)&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Regarts, Matheus&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 15:09:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-based-on-another-dimension/m-p/2431396#M96621</guid>
      <dc:creator>MatheusC</dc:creator>
      <dc:date>2024-03-15T15:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dimension based on another dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Dimension-based-on-another-dimension/m-p/2431413#M96623</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I don't want it to be based on/hard coded to the [Title], but rather [Name] since that person could have a new Job Title in the future. I'd like to be always based on [Name] and display the [Title] value from that hard coded name instead.&lt;/P&gt;
&lt;P&gt;logically I tried something like&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if([Name]='Mark',&amp;nbsp;aggr([Title], [Name]='&lt;SPAN&gt;Paul&lt;/SPAN&gt;'), [Name])&amp;nbsp;&lt;/P&gt;
&lt;P&gt;but I can't have aggr in a dimension and it doesn't seem to work either.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2024 15:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dimension-based-on-another-dimension/m-p/2431413#M96623</guid>
      <dc:creator>alessandrotk</dc:creator>
      <dc:date>2024-03-15T15:32:29Z</dc:date>
    </item>
  </channel>
</rss>

