<?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 display a value in a column based on the value in another column? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-display-a-value-in-a-column-based-on-the-value-in-another/m-p/1867792#M71663</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;So you will need to do a couple of left joins with aliasing, something like&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Left Join (Fact)
Load
   PersonID as SourcePersonID,
   Gender as [Source Gender]
Resident Person;&lt;/LI-CODE&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Chris.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Dec 2021 20:01:51 GMT</pubDate>
    <dc:creator>chrismarlow</dc:creator>
    <dc:date>2021-12-07T20:01:51Z</dc:date>
    <item>
      <title>How to display a value in a column based on the value in another column?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-a-value-in-a-column-based-on-the-value-in-another/m-p/1867344#M71620</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I'm pulling my hair out trying to figure out how to do what should be simple.&lt;/P&gt;
&lt;P&gt;I have a Person table which contains all persons.&lt;/P&gt;
&lt;P&gt;I have a Transaction table containing all transactions.&lt;/P&gt;
&lt;P&gt;I'm making a table which includes person names, such as source person, and destination person.&lt;/P&gt;
&lt;P&gt;Next to each of these I want another column which displays the person's gender.&lt;/P&gt;
&lt;P&gt;e.g.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Table I am creating&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;&lt;STRONG&gt;Source Gender&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;&lt;STRONG&gt;Source Person&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;&lt;STRONG&gt;Destination Gender&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;&lt;STRONG&gt;Destination Person&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="25px"&gt;Male&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;John&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Female&lt;/TD&gt;
&lt;TD width="25%" height="25px"&gt;Sue&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="25%" height="40px"&gt;Female&lt;/TD&gt;
&lt;TD width="25%" height="40px"&gt;Jane&lt;/TD&gt;
&lt;TD width="25%" height="40px"&gt;Female&lt;/TD&gt;
&lt;TD width="25%" height="40px"&gt;
&lt;P&gt;Sam&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Person table&lt;/STRONG&gt;&lt;/P&gt;
&lt;TABLE border="1" width="44.444012038190124%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;Person Name&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;&lt;STRONG&gt;Gender&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Jane&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Female&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;John&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Male&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Sam&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Female&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Sue&lt;/TD&gt;
&lt;TD width="33.333333333333336%" height="25px"&gt;Female&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I populate the Source Gender and Destination Gender columns?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 01:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-a-value-in-a-column-based-on-the-value-in-another/m-p/1867344#M71620</guid>
      <dc:creator>Prog</dc:creator>
      <dc:date>2021-12-07T01:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a value in a column based on the value in another column?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-a-value-in-a-column-based-on-the-value-in-another/m-p/1867783#M71661</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;There does not appear to be anything in the Person table, that you have shared, that links John with Sue and Jane with Sam ... what is the business/logic rule behind saying one is the source and one is the destination?&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Chris.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 19:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-a-value-in-a-column-based-on-the-value-in-another/m-p/1867783#M71661</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2021-12-07T19:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a value in a column based on the value in another column?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-a-value-in-a-column-based-on-the-value-in-another/m-p/1867789#M71662</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;Thank you for your reply.&lt;/P&gt;
&lt;P&gt;I omitted further detail from the tables to keep it simple, but there are Person IDs that link it all together.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 19:53:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-a-value-in-a-column-based-on-the-value-in-another/m-p/1867789#M71662</guid>
      <dc:creator>Prog</dc:creator>
      <dc:date>2021-12-07T19:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a value in a column based on the value in another column?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-a-value-in-a-column-based-on-the-value-in-another/m-p/1867792#M71663</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;So you will need to do a couple of left joins with aliasing, something like&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;Left Join (Fact)
Load
   PersonID as SourcePersonID,
   Gender as [Source Gender]
Resident Person;&lt;/LI-CODE&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 20:01:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-a-value-in-a-column-based-on-the-value-in-another/m-p/1867792#M71663</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2021-12-07T20:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a value in a column based on the value in another column?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-a-value-in-a-column-based-on-the-value-in-another/m-p/1867798#M71665</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;Sorry I forgot to mention this is for creating a sheet within an already existing app.&lt;/P&gt;
&lt;P&gt;I can't change the ETL process for the solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 20:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-a-value-in-a-column-based-on-the-value-in-another/m-p/1867798#M71665</guid>
      <dc:creator>Prog</dc:creator>
      <dc:date>2021-12-07T20:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a value in a column based on the value in another column?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-display-a-value-in-a-column-based-on-the-value-in-another/m-p/1867829#M71669</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You might be able to use Only similar to this on a disconnected data model;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20211207_1.png" style="width: 964px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/68129iD5A447BB85D0D8B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="20211207_1.png" alt="20211207_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 21:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-display-a-value-in-a-column-based-on-the-value-in-another/m-p/1867829#M71669</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2021-12-07T21:15:39Z</dc:date>
    </item>
  </channel>
</rss>

