<?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: Lookup field value within field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Lookup-field-value-within-field/m-p/1545393#M745487</link>
    <description>&lt;P&gt;I remodeled my data as per your advice and the P() function works perfectly - Thanks!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Feb 2019 11:07:22 GMT</pubDate>
    <dc:creator>Hoowling</dc:creator>
    <dc:date>2019-02-16T11:07:22Z</dc:date>
    <item>
      <title>Lookup field value within field</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-field-value-within-field/m-p/1543226#M745483</link>
      <description>&lt;P&gt;Hi qlik community!,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a data table that entails information about listed companies. Given my selection of company I want to show all the peers of the selected company. The data is organized as Company, KPI, Value. "Company sector" is listed under KPI and for one particular company the sector could by "Consumables".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If I select a company in the consumables sector I want to show all other companies within the same sector. I would also like to calculate industry averages given the selection - e.g. profitability is listed under KPI aswell, so given that I select a company in the consumables sector, I would like to show the average profitability across that sector. What I'm looking for basically is a lookup function for the company sector field value for another field value within the same field (hopefully not too confusing).&lt;/P&gt;&lt;P&gt;It would be much appreciated if someone could provide me with a solution to this problem - Ï've been struggling with it for some time....&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-field-value-within-field/m-p/1543226#M745483</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2024-11-16T21:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup field value within field</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-field-value-within-field/m-p/1543250#M745484</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use P() function in set analysis to return the possible set based on the selection, something like the below;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190212_1.png" style="width: 932px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5799iCD226A62D8CD0C50/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190212_1.png" alt="20190212_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 20:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-field-value-within-field/m-p/1543250#M745484</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-02-12T20:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup field value within field</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-field-value-within-field/m-p/1543254#M745485</link>
      <description>&lt;P&gt;Thanks for the quick response.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This is what I'm looking for. The problem however is that Sector is not a dimension - it is a field under KPI (which is a dimension) - see picture below. How would you write the formula given that? Choosing AarhusKarlshamn below to return all companies (bolag) for KPI = "info sektor" with Data_nyckeltal = Dagligvaror.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2019-02-12_21-32-12.png" style="width: 484px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5801i3C2D7D399DE9E76E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2019-02-12_21-32-12.png" alt="Snipaste_2019-02-12_21-32-12.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 20:38:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-field-value-within-field/m-p/1543254#M745485</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2019-02-12T20:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup field value within field</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-field-value-within-field/m-p/1543261#M745486</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would be inclined to remodel your data, but the following might work if that is not an option;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20190212_2.png" style="width: 804px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5802i97CB855301C68D5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="20190212_2.png" alt="20190212_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Only({&amp;lt;Company=P({1&amp;lt;KPI={'Sector'},Data=P({&amp;lt;KPI={'Sector'}&amp;gt;} Data)&amp;gt;} Company)&amp;gt;}Data)&lt;/P&gt;&lt;P&gt;With field names amended as you need.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 21:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-field-value-within-field/m-p/1543261#M745486</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2019-02-12T21:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup field value within field</title>
      <link>https://community.qlik.com/t5/QlikView/Lookup-field-value-within-field/m-p/1545393#M745487</link>
      <description>&lt;P&gt;I remodeled my data as per your advice and the P() function works perfectly - Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 11:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Lookup-field-value-within-field/m-p/1545393#M745487</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2019-02-16T11:07:22Z</dc:date>
    </item>
  </channel>
</rss>

