<?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: Logic Required in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704941#M1062203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&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: 12px; background-color: #f6f6f6;"&gt;if the variable is VEnteredDate then the expression (slight change for casing of 'v' ) is this&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: 12px; background-color: #f6f6f6;"&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: 12px; background-color: #f6f6f6;"&gt;sum(&amp;nbsp; {$&amp;lt;Date = {'&amp;gt;=$(VEnteredDate)&amp;lt;=$(=Today())'}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales)&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: 12px; background-color: #f6f6f6;"&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: 12px; background-color: #f6f6f6;"&gt;To be honest though i haven't seen your data model and its very common that date types aren't set up correctly. would you be willing to share a QVW sample ? There is no way to guarantee the above expression would work in all data models without reviewing first how the data model is defining dates. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Sep 2014 12:44:18 GMT</pubDate>
    <dc:creator>JonnyPoole</dc:creator>
    <dc:date>2014-09-26T12:44:18Z</dc:date>
    <item>
      <title>Logic Required</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704936#M1062198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want, when i enter any date from calender, the output shud come greater than selected date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g&lt;/P&gt;&lt;P&gt;sum( sales) till sep 26-sep-14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i enter date 1-sep-14 than the sales would come for the period of 1-sep-14 to 26- sep-14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KINDLY HELP........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 12:25:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704936#M1062198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-26T12:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Required</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704937#M1062199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&amp;lt;Mydate={'&amp;gt;=$(=SelectedDate)'}&amp;gt;}sales) gives sum from selected date &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 12:27:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704937#M1062199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-26T12:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Required</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704938#M1062200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This would be the basic syntax where vEnteredDate is the variable that captures the inputted date from the calendar object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(&amp;nbsp; {$&amp;lt;Date = {'&amp;gt;=$(vEnteredDate)&amp;lt;=$(=Today())'}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are not using a calendar object you want the 'selected date' you could do calculate the sum only if a user selects one date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( getselectedcount(Date) = 1, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(&amp;nbsp; {$&amp;lt;Date = {'&amp;gt;=$(=Only(Date))&amp;lt;=$(=Today())'}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 12:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704938#M1062200</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-26T12:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Required</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704939#M1062201</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;It is like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;DateField={"&amp;gt;=$(=Date(max(DateField)))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 12:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704939#M1062201</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-09-26T12:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Required</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704940#M1062202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If VEnteredDate is same date as of which I have created MasterCalender...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will it work??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried but its not working.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say, if any user is selecting MasterCalender or inputbox which is same and he/she selects 1st April 2014..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I want It should give me till date...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 12:40:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704940#M1062202</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-26T12:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Required</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704941#M1062203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&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: 12px; background-color: #f6f6f6;"&gt;if the variable is VEnteredDate then the expression (slight change for casing of 'v' ) is this&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: 12px; background-color: #f6f6f6;"&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: 12px; background-color: #f6f6f6;"&gt;sum(&amp;nbsp; {$&amp;lt;Date = {'&amp;gt;=$(VEnteredDate)&amp;lt;=$(=Today())'}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales)&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: 12px; background-color: #f6f6f6;"&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: 12px; background-color: #f6f6f6;"&gt;To be honest though i haven't seen your data model and its very common that date types aren't set up correctly. would you be willing to share a QVW sample ? There is no way to guarantee the above expression would work in all data models without reviewing first how the data model is defining dates. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 12:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704941#M1062203</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-26T12:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Required</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704942#M1062204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DateField&lt;/SPAN&gt;={"&amp;gt;=$(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Date(max(DateField),'DD-MMM-YYYY'))&lt;/SPAN&gt;"}&amp;gt;} sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 12:44:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704942#M1062204</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-09-26T12:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Required</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704943#M1062205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your Expression is static, I need a dynamic solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say, If I am selecting a Month(April) and Year(2014) then it should give me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;April-2014&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Sep-2014 i.e for next 6 month on selection from master calender.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need any other info?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Sep 2014 05:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Required/m-p/704943#M1062205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-27T05:56:25Z</dc:date>
    </item>
  </channel>
</rss>

