<?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: Using expression as a field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167196#M379863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid I cannot show you any samples as this a specific chart type that I am experimenting with at the moment and the application uses multiple binaries so it wouldn't be practical showing anything as you would never have the whole application and it's contents&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Aug 2016 15:24:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-08-10T15:24:33Z</dc:date>
    <item>
      <title>Using expression as a field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167192#M379859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all readers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am searching for an answer to a tricky situation where I am creating a dynamic chart with several different pieces and this requires "rank". What I would like to do is to find a way to make rank a field or find a way to use it as a variable so I could use set analysis to show the value for a specific "rank" .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my expression:&lt;/P&gt;&lt;P&gt;=if(MaxString({&amp;lt; Month =,IndicatorName={Admissions}&amp;gt;} Numerator)='n/a','n/a',&lt;/P&gt;&lt;P&gt;&amp;nbsp; num(&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(MaxString({&amp;lt; Month =,IndicatorName={Admissions}&amp;gt;} NumDen)='Num',&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aggr(Rank(sum({1&amp;lt; Month =,IndicatorName={Admissions}&amp;gt;} Numerator),1,1),Person)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Aggr(Rank(sum({1&amp;lt; Month =,IndicatorName={Admissions}&amp;gt;} Numerator)/sum({1&amp;lt; Month =,IndicatorName={Admissions}&amp;gt;} Denominator),1,1),Person)&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp; ,MaxString({&amp;lt; Month =,IndicatorName={Admissions}&amp;gt;} Format))&lt;/P&gt;&lt;P&gt;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I would like to do is get a value from this so if I got the rank "3" for example then the "admissions" for the 3rd highest "person" would be the value that I get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this needs to be dynamic so I can choose which rank to get the value from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone can, please help and it will be very greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 15:01:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167192#M379859</guid>
      <dc:creator />
      <dc:date>2016-08-10T15:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using expression as a field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167193#M379860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try it with listbox-expressions like in this example: &lt;A href="https://community.qlik.com/thread/228600"&gt;Load script full variable.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 15:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167193#M379860</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-10T15:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using expression as a field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167194#M379861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all thank you for the reply but I am trying to avoid list boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is as I do not want this to be a selection as the way the chart will work is it will have the top 10 and since the "person" at the top might not always be there I want to be able change based on the "rank"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can think of any other solutions or threads I could follow that would also help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 15:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167194#M379861</guid>
      <dc:creator />
      <dc:date>2016-08-10T15:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using expression as a field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167195#M379862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be possible for you to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 15:18:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167195#M379862</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-10T15:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using expression as a field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167196#M379863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am afraid I cannot show you any samples as this a specific chart type that I am experimenting with at the moment and the application uses multiple binaries so it wouldn't be practical showing anything as you would never have the whole application and it's contents&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 15:24:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167196#M379863</guid>
      <dc:creator />
      <dc:date>2016-08-10T15:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using expression as a field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167197#M379864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then have a look here: &lt;A href="https://community.qlik.com/thread/228575"&gt;Top n / Bottom n&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 15:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167197#M379864</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-10T15:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using expression as a field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167198#M379865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I was not specific enough I want to have the top 10 but as separate charts that is why I want to make this a field, this is purely so I can use set analysis to find the rank and give me the value as I have tried multiple ways to try to get the rank expression as it is into set analysis but it has not worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did also try to use an if function but it did not co-operate well with the expression I have used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 15:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167198#M379865</guid>
      <dc:creator />
      <dc:date>2016-08-10T15:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using expression as a field</title>
      <link>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167199#M379866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you will need a different approach than an expression or a calculated dimension won't be never a field and won't behave like a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 16:35:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-expression-as-a-field/m-p/1167199#M379866</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-10T16:35:05Z</dc:date>
    </item>
  </channel>
</rss>

