<?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 Text Box Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Text-Box-Calculation/m-p/1607440#M444839</link>
    <description>&lt;P&gt;Morning everyone,&lt;/P&gt;&lt;P&gt;I have a text object which does a calculation, and below the text object I have a straight table which ranks the average number of days from low to high.&amp;nbsp; The ranking in the straight table starts at 2 - 10.&amp;nbsp; The text object is the number 1.&amp;nbsp; For some reason it's coming up negative, and yes there is an negative sign before the average so it can sort in the correct order.&amp;nbsp; I need to get rid of the negative sign.&amp;nbsp; Here is the calculation I'm using.&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;=' Top - ' &amp;amp;&lt;FONT color="#0000ff"&gt;FirstSortedValue&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;distinct&lt;/FONT&gt; &lt;FONT color="#800000"&gt;Recruit_Mgr&lt;/FONT&gt;, -&lt;FONT color="#0000ff"&gt;Aggr&lt;/FONT&gt;(-&lt;FONT color="#0000ff"&gt;avg&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#800000"&gt;Closed&lt;/FONT&gt; = {1}&amp;gt;}&lt;FONT color="#800000"&gt;Age&lt;/FONT&gt;),&lt;FONT color="#800000"&gt;Recruit_Mgr&lt;/FONT&gt;)) &amp;amp; ' - '&amp;amp; &lt;FONT color="#0000ff"&gt;Max&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Num&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;aggr&lt;/FONT&gt;(-&lt;FONT color="#0000ff"&gt;avg&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#800000"&gt;Closed&lt;/FONT&gt; = {1}&amp;gt;}&lt;FONT color="#800000"&gt;Age&lt;/FONT&gt;) ,&lt;FONT color="#800000"&gt;[Recruit_Mgr]&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT size="4"&gt; ),'#,##0') )&lt;/FONT&gt; &lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:52:16 GMT</pubDate>
    <dc:creator>tmumaw</dc:creator>
    <dc:date>2024-11-16T02:52:16Z</dc:date>
    <item>
      <title>Text Box Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Box-Calculation/m-p/1607440#M444839</link>
      <description>&lt;P&gt;Morning everyone,&lt;/P&gt;&lt;P&gt;I have a text object which does a calculation, and below the text object I have a straight table which ranks the average number of days from low to high.&amp;nbsp; The ranking in the straight table starts at 2 - 10.&amp;nbsp; The text object is the number 1.&amp;nbsp; For some reason it's coming up negative, and yes there is an negative sign before the average so it can sort in the correct order.&amp;nbsp; I need to get rid of the negative sign.&amp;nbsp; Here is the calculation I'm using.&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;=' Top - ' &amp;amp;&lt;FONT color="#0000ff"&gt;FirstSortedValue&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;distinct&lt;/FONT&gt; &lt;FONT color="#800000"&gt;Recruit_Mgr&lt;/FONT&gt;, -&lt;FONT color="#0000ff"&gt;Aggr&lt;/FONT&gt;(-&lt;FONT color="#0000ff"&gt;avg&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#800000"&gt;Closed&lt;/FONT&gt; = {1}&amp;gt;}&lt;FONT color="#800000"&gt;Age&lt;/FONT&gt;),&lt;FONT color="#800000"&gt;Recruit_Mgr&lt;/FONT&gt;)) &amp;amp; ' - '&amp;amp; &lt;FONT color="#0000ff"&gt;Max&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Num&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;aggr&lt;/FONT&gt;(-&lt;FONT color="#0000ff"&gt;avg&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#800000"&gt;Closed&lt;/FONT&gt; = {1}&amp;gt;}&lt;FONT color="#800000"&gt;Age&lt;/FONT&gt;) ,&lt;FONT color="#800000"&gt;[Recruit_Mgr]&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT size="4"&gt; ),'#,##0') )&lt;/FONT&gt; &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Box-Calculation/m-p/1607440#M444839</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2024-11-16T02:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Text Box Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Text-Box-Calculation/m-p/1607446#M444841</link>
      <description>&lt;P&gt;Figured it out.&amp;nbsp;Should have been a min not a max.&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;=' Top - ' &amp;amp;&lt;FONT color="#0000ff"&gt;FirstSortedValue&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;distinct&lt;/FONT&gt; &lt;FONT color="#800000"&gt;Recruit_Mgr&lt;/FONT&gt;, -&lt;FONT color="#0000ff"&gt;Aggr&lt;/FONT&gt;(-&lt;FONT color="#0000ff"&gt;avg&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#800000"&gt;Closed&lt;/FONT&gt; = {1}&amp;gt;}&lt;FONT color="#800000"&gt;Age&lt;/FONT&gt;),&lt;FONT color="#800000"&gt;Recruit_Mgr&lt;/FONT&gt;)) &amp;amp; ' - '&amp;amp; &lt;FONT color="#0000ff"&gt;Min&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;Num&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;aggr&lt;/FONT&gt;(&lt;FONT color="#0000ff"&gt;avg&lt;/FONT&gt;({&amp;lt;&lt;FONT color="#800000"&gt;Closed&lt;/FONT&gt; = {1}&amp;gt;}&lt;FONT color="#800000"&gt;Age&lt;/FONT&gt;) ,&lt;FONT color="#800000"&gt;[Recruit_Mgr]&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="1"&gt;&lt;FONT size="3"&gt; ),'#,##0'))&lt;/FONT&gt; &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 11:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Text-Box-Calculation/m-p/1607446#M444841</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2019-07-30T11:35:04Z</dc:date>
    </item>
  </channel>
</rss>

