<?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: Showing table value using a Where FieldName = variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450194#M806049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what is happening when you trying to do this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF( vUserName = Fin.FullName,Fin.Salary,Null() )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Oct 2017 01:15:15 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-10-28T01:15:15Z</dc:date>
    <item>
      <title>Showing table value using a Where FieldName = variable</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450193#M806048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my scenario:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an Employees table that has all User related information in it.&lt;/P&gt;&lt;P&gt;Fields:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;%EmployeeID&lt;/SPAN&gt;, Emp.FullName &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a Sales table that has all sales related information in it, that is joined to the Employees table&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Fields:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt; &lt;SPAN style="color: #0000ff;"&gt;%EmployeeID&lt;/SPAN&gt;, Sales.FullName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have a Finance table that is an island and not connect at all - and it cannot at all be join for any reason.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Fields:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fin.EmployeeID, Fin.FullName, Fin.Salary&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Users who open the QlikView app, are authenticated through LDAP, this verifies them using the data in the Employees table.&lt;/P&gt;&lt;P&gt;A variable called vUserName is set to their name at point of opening the app. (for example - variable = John Doe)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to use a text object to display - to the User who is logged in - their Salary.&lt;/P&gt;&lt;P&gt;Because I am not joined to the employees table, or Sales table - I cannot retrieve the correct salary for John Doe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to know if i could somehow get it by doing this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF( vUserName = Fin.FullName,Fin.Salary,Null() )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the vUserName variable - its set to John Doe, &lt;/P&gt;&lt;P&gt;the Finance table has one row per User, so there is a John Doe in the Fin.FullName field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get this expression to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450193#M806048</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Showing table value using a Where FieldName = variable</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450194#M806049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what is happening when you trying to do this?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;IF( vUserName = Fin.FullName,Fin.Salary,Null() )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Oct 2017 01:15:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450194#M806049</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-10-28T01:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Showing table value using a Where FieldName = variable</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450195#M806050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How you are defining &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vUserName in overview of variable?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Oct 2017 02:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450195#M806050</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-28T02:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Showing table value using a Where FieldName = variable</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450196#M806051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;It doesn't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just get a '-' as a response&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2017 20:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450196#M806051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-29T20:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Showing table value using a Where FieldName = variable</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450197#M806052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;vUserName is set like this:&lt;/P&gt;&lt;P&gt;=Only({$&amp;lt;SalesPerson&amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;SalesPerson&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Oct 2017 20:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450197#M806052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-29T20:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Showing table value using a Where FieldName = variable</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450198#M806053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;=Only({&amp;lt;[Fin.FullName]={'$(vUserName)'}&amp;gt;}[Fin.Salary])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 07:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450198#M806053</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-10-30T07:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Showing table value using a Where FieldName = variable</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450199#M806054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amazing!!&lt;BR /&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 15:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-table-value-using-a-Where-FieldName-variable/m-p/1450199#M806054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-30T15:36:12Z</dc:date>
    </item>
  </channel>
</rss>

