<?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 Help.. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/968667#M959742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;what about vStart_date and vEnd_Date,&lt;/P&gt;&lt;P&gt;Try to Give min(Start_Date) and max(End_Date) in the expression because variable can hold single value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Oct 2015 07:41:15 GMT</pubDate>
    <dc:creator>sasikanth</dc:creator>
    <dc:date>2015-10-27T07:41:15Z</dc:date>
    <item>
      <title>Logic Help..</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/968662#M959737</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;pls see the below logic..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(TaskStatusNum='1' or TaskStatusNum='2',&lt;/P&gt;&lt;P&gt;&amp;nbsp; count({&amp;lt;DateSubmitted={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vEndDate)'},IntervalType = {'2'}&amp;gt;}SurveyTaskId),&lt;/P&gt;&lt;P&gt; if(TaskStatusNum='3',&lt;/P&gt;&lt;P&gt;&amp;nbsp; count({&amp;lt;DateDueGracePeriod={'&amp;gt;=$(=vStartDate)&amp;lt;=$(=vEndDate)'},IntervalType={'2'}&amp;gt;}SurveyTaskId))) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this when i select StartDate and End Date it works fine and data come...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want in this same logic when StartDate and End Date not Selected It should give me some default value of current week like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DateSubmitted &amp;gt;= Weekstart(today())&lt;/P&gt;&lt;P&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;DateDueGracePeriod &amp;gt;= &lt;SPAN style="font-size: 13.3333px;"&gt;Weekstart(today())&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;How i can achieve that? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 06:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/968662#M959737</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2015-10-27T06:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help..</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/968663#M959738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share your application along with some sample data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 06:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/968663#M959738</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2015-10-27T06:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help..</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/968664#M959739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to provide more information if you want useful help. What is the context of the expression? If it is a chart/table, what are the dimensions? How are the dimensions associated with the fields in the expression? Are TaskStatusNum, StartDate and EndDate variables or fields? Are StartDate and EndDate fields? How do they associate with the expressions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you post your qvw or a representative sample, all these questions will be answered...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 06:17:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/968664#M959739</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-27T06:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help..</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/968665#M959740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry to post less info..&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;TaskStatusNum is a flag which says 1= Completed on time, 2= Subimtted late, 3= overdue&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;vStartDate and vEndDate are Variable which contain the field Start_Date and End_Date in it.&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;and Dimension is TaskStatus, flagging given to TaskStatusNum. &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;As a Chart, need to show Pie Chart. this all are in one table.. only concern is Date range selection for two different date in one expression.. as i asked above..&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;Pls let me know if any query..&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;thanks&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;Aby&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 06:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/968665#M959740</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2015-10-27T06:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help..</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/968666#M959741</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;May be write another 'if' like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(getselectedcount(yourdatefield)=0, write your condition for this:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DateSubmitted &amp;gt;= Weekstart(today())&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;amp;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;DateDueGracePeriod &amp;gt;= &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Weekstart(today())&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;else&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;the current if you have mentioned in the post&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;I am not absolutely sure of this as the post is a bit hazy.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;HTH&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;NRC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 06:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/968666#M959741</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-27T06:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help..</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/968667#M959742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;what about vStart_date and vEnd_Date,&lt;/P&gt;&lt;P&gt;Try to Give min(Start_Date) and max(End_Date) in the expression because variable can hold single value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 07:41:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/968667#M959742</guid>
      <dc:creator>sasikanth</dc:creator>
      <dc:date>2015-10-27T07:41:15Z</dc:date>
    </item>
  </channel>
</rss>

