<?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: Expression differences between Qlikview &amp; Qliksense (#1) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078045#M17836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestions, Sunny.&amp;nbsp; Unfortunately it is still not working.&amp;nbsp; I used the last expression you gave...the editor says the formula is "OK", but I'm still getting a value of 0 in the KPI object.&amp;nbsp; Anything else I should be looking at or try?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jan 2016 17:58:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-15T17:58:00Z</dc:date>
    <item>
      <title>Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078038#M17829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Qlikview I could create a text box and enter the formula:&amp;nbsp; sum(if(data_dt = max(data_dt), sales)) to get the sum of sales for the max date.&amp;nbsp; When entering this formula in Qliksense I get an error, though don't know why.&amp;nbsp; Is there a different formula definition?&amp;nbsp; Is it ALL set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&amp;nbsp; Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 23:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078038#M17829</guid>
      <dc:creator />
      <dc:date>2016-01-12T23:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078039#M17830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌I guess what object are your trying to do it in?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 23:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078039#M17830</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-12T23:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078040#M17831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The "KPI" object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 23:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078040#M17831</guid>
      <dc:creator />
      <dc:date>2016-01-12T23:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078041#M17832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌that is strange... I would expect a text box expression to work in Qlik Sense's object. would you be able to share a sample where it isn't working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jan 2016 23:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078041#M17832</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-12T23:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078042#M17833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. in your if condition put in else part 0, as it you are taking sum() where if condition move to else part may causing the problem.. try this =&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum(if(data_dt = max(data_dt), sales,0)). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;2.also in your expression will work for a selection only right, when nothing selected and as u are written this in text box, the value of &lt;STRONG&gt;data_dt&lt;/STRONG&gt; inside if for first statement will be what? eg if it is a column having 10 values which value it should be. check that..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jan 2016 06:29:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078042#M17833</guid>
      <dc:creator>vinay_hg</dc:creator>
      <dc:date>2016-01-13T06:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078043#M17834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It likes the code like this:&lt;/P&gt;&lt;P&gt;if(DATA_DT = Max(DATA_DT), Sum(Sub_Count),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, to your 2nd point, the value is 0 unless there is a DATA_DT selected in a filter.&amp;nbsp; I want this page to be static, and NOT use filters.&amp;nbsp;&amp;nbsp; So for all the measures, I want them to represent the max(DATA_DT).&amp;nbsp; I can't get this to work.&amp;nbsp; I created a variable in the script:&amp;nbsp; Let vMaxDataDt = Max(DATA_DT).&amp;nbsp; I'm not sure how to validate that this variable is "good".&amp;nbsp; I tried using it in the formula above, replacing the "Max(DATA_DT", and it didn't like it.&amp;nbsp; Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 23:17:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078043#M17834</guid>
      <dc:creator />
      <dc:date>2016-01-14T23:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078044#M17835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you are looking for this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(If(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;DATA_DT = Max(DATA_DT), Sub_Count))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;DATA_DT = {"$(=Date(Max(DATA_DT)), 'YourDateFieldFormatHere)"}&amp;gt;} Sub_Count)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should give you the max date sum for Sub_Count. This will change based on your selection. If you don't want it to change based on any selection Then make this small change:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum({&amp;lt;DATA_DT = {"$(=Date(Max(&lt;SPAN style="color: #ff0000;"&gt;{1}&lt;/SPAN&gt;DATA_DT)), 'YourDateFieldFormatHere)"}&amp;gt;} Sub_Count)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 23:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078044#M17835</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-14T23:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078045#M17836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestions, Sunny.&amp;nbsp; Unfortunately it is still not working.&amp;nbsp; I used the last expression you gave...the editor says the formula is "OK", but I'm still getting a value of 0 in the KPI object.&amp;nbsp; Anything else I should be looking at or try?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 17:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078045#M17836</guid>
      <dc:creator />
      <dc:date>2016-01-15T17:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078046#M17837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is DATA_DT a date field or timestamp field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 17:59:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078046#M17837</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-15T17:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078047#M17838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a date field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 18:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078047#M17838</guid>
      <dc:creator />
      <dc:date>2016-01-15T18:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078048#M17839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So if you do Num(DATA_DT) you see an integer and not something like 45169.1532564 kind of a number? Just want to make sure we are confident that DATA_DT is a date field and not timestamp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 18:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078048#M17839</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-15T18:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078049#M17840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes...when I do Num(DATA_DT) I see 42369&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 18:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078049#M17840</guid>
      <dc:creator />
      <dc:date>2016-01-15T18:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078050#M17841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what isn't working. Would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 18:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078050#M17841</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-01-15T18:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078051#M17842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sounds Strange! The expressions should work the same in Qlikview and QlikSense. As Sunny Suggested, it would be easy if you share a QVF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sangram Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 20:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078051#M17842</guid>
      <dc:creator>reddy-s</dc:creator>
      <dc:date>2016-01-15T20:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expression differences between Qlikview &amp; Qliksense (#1)</title>
      <link>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078052#M17843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a/the solution when looking through the documentation.&amp;nbsp; I'm not sure why my original formula worked in Qlikview but not Qliksense, but it needed a "Max" in there, as well as a "TOTAL"....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(If(DATA_DT=Max(TOTAL DATA_DT), Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives me the total sales, without a filter, for the max DATA_DT.&amp;nbsp; Thanks for all the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 19:30:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Expression-differences-between-Qlikview-Qliksense-1/m-p/1078052#M17843</guid>
      <dc:creator />
      <dc:date>2016-01-18T19:30:33Z</dc:date>
    </item>
  </channel>
</rss>

