<?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: Value evaluation in Qlik Sense function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Value-evaluation-in-Qlik-Sense-function/m-p/1830958#M68499</link>
    <description>&lt;P&gt;Check this may be -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({$&amp;lt;ContractFiscalYear={&lt;FONT size="5" color="#FF0000"&gt;'&lt;/FONT&gt;$(=MaxString(ContractFiscalYearCurrent))&lt;FONT size="6" color="#FF0000"&gt;'&lt;/FONT&gt;}&amp;gt;} tot_dbus * [All Purpose Cost])&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Aug 2021 02:51:14 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2021-08-25T02:51:14Z</dc:date>
    <item>
      <title>Value evaluation in Qlik Sense function</title>
      <link>https://community.qlik.com/t5/App-Development/Value-evaluation-in-Qlik-Sense-function/m-p/1830951#M68498</link>
      <description>&lt;P&gt;Good Evening.. have an interesting one.&lt;/P&gt;&lt;P&gt;I have a field that has been loaded using the YearName() and has a value in it of 2020-2021. I'm attempting to use that in a formula for a KPI in the visualization and I get an error I can't seem to get around. If I hard set it to the value with '2020-2021' for the MaxString value the formula works.&lt;/P&gt;&lt;P&gt;Here is what the formula string looks like:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;ContractFiscalYear={$(=MaxString(ContractFiscalYearCurrent))}&amp;gt;} tot_dbus * [All Purpose Cost])&lt;/P&gt;&lt;P&gt;If I hard set it to the value with '2020-2021' for the MaxString value the formula works just fine.&lt;/P&gt;&lt;P&gt;The value of the MaxString(ContractFiscalYearCurrent) = 2020-2021&lt;/P&gt;&lt;P&gt;The value for ContractFiscalYear is also 2020-2021&lt;/P&gt;&lt;P&gt;The value of variable [All Purpose Cost] is .568&lt;/P&gt;&lt;P&gt;I get this error in the formula:&lt;/P&gt;&lt;P&gt;Error in expression&lt;/P&gt;&lt;P&gt;Error in set modifier ad hoc element list:',', or ')' expected&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;ContractFiscalYear={2020-2021}&amp;gt;} tot_dbus * [All Purpose Cost])&lt;/P&gt;&lt;P&gt;My only thought is the "-" in the value the YearName() creates (2020-2021)&amp;nbsp; is creating a problem since if I hard set it with quotes around it the formula works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts or ideas would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 23:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Value-evaluation-in-Qlik-Sense-function/m-p/1830951#M68498</guid>
      <dc:creator>ABNoel_Travelers</dc:creator>
      <dc:date>2021-08-24T23:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: Value evaluation in Qlik Sense function</title>
      <link>https://community.qlik.com/t5/App-Development/Value-evaluation-in-Qlik-Sense-function/m-p/1830958#M68499</link>
      <description>&lt;P&gt;Check this may be -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sum({$&amp;lt;ContractFiscalYear={&lt;FONT size="5" color="#FF0000"&gt;'&lt;/FONT&gt;$(=MaxString(ContractFiscalYearCurrent))&lt;FONT size="6" color="#FF0000"&gt;'&lt;/FONT&gt;}&amp;gt;} tot_dbus * [All Purpose Cost])&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Aug 2021 02:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Value-evaluation-in-Qlik-Sense-function/m-p/1830958#M68499</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2021-08-25T02:51:14Z</dc:date>
    </item>
  </channel>
</rss>

