<?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: Choosing a value when selecting another value in the same table row in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Choosing-a-value-when-selecting-another-value-in-the-same-table/m-p/2508855#M104609</link>
    <description>&lt;P&gt;Thank you, Oleg!&lt;BR /&gt;That worked!&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;~Demian&lt;/P&gt;</description>
    <pubDate>Fri, 07 Mar 2025 22:26:48 GMT</pubDate>
    <dc:creator>DEMONIO_AZUL</dc:creator>
    <dc:date>2025-03-07T22:26:48Z</dc:date>
    <item>
      <title>Choosing a value when selecting another value in the same table row</title>
      <link>https://community.qlik.com/t5/App-Development/Choosing-a-value-when-selecting-another-value-in-the-same-table/m-p/2508853#M104607</link>
      <description>&lt;P&gt;Hello there!&lt;/P&gt;
&lt;P&gt;I am using &lt;FONT color="#008000"&gt;&lt;STRONG&gt;Qlik Cloud Analytics&lt;/STRONG&gt;&lt;/FONT&gt; and&amp;nbsp;I have this table:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DEMONIO_AZUL_0-1741384560153.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178287iE4B296D5DEFA84BC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DEMONIO_AZUL_0-1741384560153.png" alt="DEMONIO_AZUL_0-1741384560153.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I need to get the value of the &lt;STRONG&gt;&lt;FONT color="#FF9900"&gt;DoB&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;(Date of Birth) if I choose any (but only one) of the people listed in &lt;FONT color="#FF9900"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;FONT color="#000000"&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt; to be used in a KPI&lt;/STRONG&gt;&lt;/FONT&gt;, for example.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;So, if I select &lt;EM&gt;this&lt;/EM&gt;&amp;nbsp;&lt;STRONG&gt;Helen &lt;/STRONG&gt;(highlighted in yellow, because there is another Helen below), I want to obtain &lt;STRONG&gt;1963-01-06&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;If there were more than one names selected, the output should be &lt;EM&gt;blank&lt;/EM&gt; or an error message (e.g. &lt;FONT color="#008000"&gt;'More than one name selected'&lt;/FONT&gt;).&lt;/P&gt;
&lt;P&gt;Problem is that there are &lt;EM&gt;more than one&lt;/EM&gt; &lt;STRONG&gt;Helen&lt;/STRONG&gt;&amp;nbsp;in the table, so, when choosing Helen there are still multiple values of &lt;FONT color="#FF9900"&gt;&lt;STRONG&gt;DoB&lt;/STRONG&gt;&lt;/FONT&gt; and I don't know how to filter them to obtain &lt;U&gt;only&lt;/U&gt; the date of birth of&amp;nbsp;&lt;EM&gt;the Helen I chose&lt;/EM&gt;. I can use only &lt;FONT color="#FF9900"&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;&lt;/FONT&gt; as filter.&lt;/P&gt;
&lt;P&gt;I am using &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;GetFieldSelections&lt;/FONT&gt;&lt;/STRONG&gt;(&lt;STRONG&gt;&lt;FONT color="#FF9900"&gt;Name&lt;/FONT&gt;&lt;/STRONG&gt;) in the KPI to know which name has been selected, but no mater what I have tried, my knowledge has not been enough to decipher how to get the correct DoB.&lt;/P&gt;
&lt;P&gt;Any hints will be appreciated.&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 22:00:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Choosing-a-value-when-selecting-another-value-in-the-same-table/m-p/2508853#M104607</guid>
      <dc:creator>DEMONIO_AZUL</dc:creator>
      <dc:date>2025-03-07T22:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing a value when selecting another value in the same table row</title>
      <link>https://community.qlik.com/t5/App-Development/Choosing-a-value-when-selecting-another-value-in-the-same-table/m-p/2508854#M104608</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;This is a tricky problem - when several people share the same name, selecting the name will result in selecting all of these people, and Qlik wouldn't recognize the specific line in the table chart that you clicked on.&lt;/P&gt;
&lt;P&gt;I'd try replacing the original field Name with a Dual value. The textual part of the dual value should contain the Name, and the numeric part of the dual value could contain a number that identifies each person uniquely. If you have a unique ID in your data, you could use it. If you have no unique ID, you could generate one, using Autonumber(). So, something like this should work for you:&lt;BR /&gt;&lt;BR /&gt;LOAD&lt;/P&gt;
&lt;P&gt;... ,&lt;/P&gt;
&lt;P&gt;Dual( Name, Autonumber ( Name &amp;amp; Address &amp;amp; DoB) ) as DualName,&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;Now, if you select DualName, I believe Qlik will select a single row, based on the unique ID. I never tested that by myself, but try that and see if it works for you.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 22:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Choosing-a-value-when-selecting-another-value-in-the-same-table/m-p/2508854#M104608</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2025-03-07T22:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing a value when selecting another value in the same table row</title>
      <link>https://community.qlik.com/t5/App-Development/Choosing-a-value-when-selecting-another-value-in-the-same-table/m-p/2508855#M104609</link>
      <description>&lt;P&gt;Thank you, Oleg!&lt;BR /&gt;That worked!&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;~Demian&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 22:26:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Choosing-a-value-when-selecting-another-value-in-the-same-table/m-p/2508855#M104609</guid>
      <dc:creator>DEMONIO_AZUL</dc:creator>
      <dc:date>2025-03-07T22:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Choosing a value when selecting another value in the same table row</title>
      <link>https://community.qlik.com/t5/App-Development/Choosing-a-value-when-selecting-another-value-in-the-same-table/m-p/2508871#M104610</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Maybe you can check that the user select a value and the count of values in 1 and not something else&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;e.g.&lt;/P&gt;
&lt;P&gt;if(&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;GetFieldSelections&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;FONT color="#FF9900"&gt;Name&lt;/FONT&gt;&lt;/STRONG&gt;&lt;SPAN&gt;)&amp;gt;0 and count(Name)=1,Max(DoB),'')&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;in this case when the user select "Helen" you won't get any value or you can replace with error message&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Mar 2025 18:12:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Choosing-a-value-when-selecting-another-value-in-the-same-table/m-p/2508871#M104610</guid>
      <dc:creator>nevopotokcloudinary</dc:creator>
      <dc:date>2025-03-08T18:12:58Z</dc:date>
    </item>
  </channel>
</rss>

