<?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: Finding the Max Value in Text Object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-the-Max-Value-in-Text-Object/m-p/682482#M673906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what kind of values are these fields holding?&amp;nbsp; strings? numeric answers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Aug 2014 15:41:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-14T15:41:57Z</dc:date>
    <item>
      <title>Finding the Max Value in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-the-Max-Value-in-Text-Object/m-p/682480#M673904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a specific query where I need to find the information from my field &lt;STRONG&gt;updatetxt &lt;/STRONG&gt;depending on the value of another field &lt;STRONG&gt;udindex.&amp;nbsp; &lt;/STRONG&gt;I created a text object and on my expression wrote the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(max(udindex),updatetxt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the text field is blank.&amp;nbsp; I suspect this is because my udindex can be anywhere from 1 to 113 and therefore when I click on the specific record that has a primary key of &lt;STRONG&gt;callref,&lt;/STRONG&gt; it cannot see which text field I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way that I can add in my expression to get the data from updatetxt depending on the MAX value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon Ditchfield&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 15:38:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-the-Max-Value-in-Text-Object/m-p/682480#M673904</guid>
      <dc:creator />
      <dc:date>2014-08-14T15:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the Max Value in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-the-Max-Value-in-Text-Object/m-p/682481#M673905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=concat({&amp;lt;udindex = {$(max(udindex))}&amp;gt;}updatetxt)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 15:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-the-Max-Value-in-Text-Object/m-p/682481#M673905</guid>
      <dc:creator />
      <dc:date>2014-08-14T15:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the Max Value in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-the-Max-Value-in-Text-Object/m-p/682482#M673906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what kind of values are these fields holding?&amp;nbsp; strings? numeric answers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 15:41:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-the-Max-Value-in-Text-Object/m-p/682482#M673906</guid>
      <dc:creator />
      <dc:date>2014-08-14T15:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the Max Value in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-the-Max-Value-in-Text-Object/m-p/682483#M673907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use firstsortedvalue() as long as udindex is a number and there is only one Updatetxt field for the max(udindex) value.&lt;/P&gt;&lt;P&gt;= Firstsortedvalue(Distinct Updatetxt, - udindex)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 18:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-the-Max-Value-in-Text-Object/m-p/682483#M673907</guid>
      <dc:creator />
      <dc:date>2014-08-14T18:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the Max Value in Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-the-Max-Value-in-Text-Object/m-p/682484#M673908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The callref is the specific value we want to report and on the callref column there is a unique value called udindex.&amp;nbsp; The first udindex is value is always 0 and is populated when a call is logged with the issue on it.&amp;nbsp; The last value can be anything from 1-150.&amp;nbsp; updatetxt is the column specific to the udindex, so it looks like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Callref&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; udindex&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; updatetxt&lt;/P&gt;&lt;P&gt;221221&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call logged for installation of office&lt;/P&gt;&lt;P&gt;221221&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; call closed - Office 2010 Installed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Types:&lt;/P&gt;&lt;P&gt;callref = numeric&lt;/P&gt;&lt;P&gt;udindex = numeric&lt;/P&gt;&lt;P&gt;updatetxt&amp;nbsp; = int&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon Ditchfield&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 09:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-the-Max-Value-in-Text-Object/m-p/682484#M673908</guid>
      <dc:creator />
      <dc:date>2014-08-15T09:36:36Z</dc:date>
    </item>
  </channel>
</rss>

