<?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: Set Analysis, Month, Today in Straight Table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610627#M1114830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use like this &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #312e25; font-family: monospace; font-size: 11px; background-color: #f5f3e5;"&gt;Sum({$&amp;lt;calDueDate={"&amp;gt;$(=Monthstart(today()))&amp;lt;$(=Monthend(today()))"}&amp;gt;}Sales).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the set analysis wizard will helpful to you creating expressions in set analysis.&lt;/P&gt;&lt;P&gt;i hope it helps you.&lt;/P&gt;&lt;P&gt;Reagrds&lt;/P&gt;&lt;P&gt;Mahesh T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 05:16:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-20T05:16:36Z</dc:date>
    <item>
      <title>Set Analysis, Month, Today in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610624#M1114827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Firstly, I thought I had posted earlier, but I can not find it, if I did and If you do, find it then&amp;nbsp; my apologises&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in my straight table I need t return the SUM of a field, where the Dates in a field called : calDueDate is within the Current Month.&lt;/P&gt;&lt;P&gt;I used the Set Analysis Wizard to go my function statement, but I get nothing back&lt;/P&gt;&lt;P&gt;=Sum({1&amp;lt;Month(calDueDate)={$(=Month(Today()))}&amp;gt;}i_lifts)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 22:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610624#M1114827</guid>
      <dc:creator>cpiocpio</dc:creator>
      <dc:date>2014-02-19T22:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis, Month, Today in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610625#M1114828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your set modifier's field selection, there is only a pure field name allowed to the left of the equal sign (please compare to the syntax description in the Help file).&lt;/P&gt;&lt;P&gt;You can create an additional field in your data model for month or year month and then use this field in your set&amp;nbsp; modifier, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Sum({1&amp;lt;calDueMonthName = {'$(=Monthname(Today()))'}&amp;gt;} i_lifts)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;or if you need to select on your date:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&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;"&gt;=Sum({1&amp;lt; calDueDate ={"&amp;gt;=$(=Monthstart(Today()))&amp;lt;=$(=Monthend(Today()))"}&amp;gt;} i_lifts)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 23:09:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610625#M1114828</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-02-19T23:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis, Month, Today in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610626#M1114829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create one variable like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vtoday=max(month(calDueDate)) or month(today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then implement the variable in set ananlysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; =Sum({&amp;lt;calDueDate={$(Vtoday)}&amp;gt;}i_lifts)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 23:14:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610626#M1114829</guid>
      <dc:creator />
      <dc:date>2014-02-19T23:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis, Month, Today in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610627#M1114830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use like this &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #312e25; font-family: monospace; font-size: 11px; background-color: #f5f3e5;"&gt;Sum({$&amp;lt;calDueDate={"&amp;gt;$(=Monthstart(today()))&amp;lt;$(=Monthend(today()))"}&amp;gt;}Sales).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the set analysis wizard will helpful to you creating expressions in set analysis.&lt;/P&gt;&lt;P&gt;i hope it helps you.&lt;/P&gt;&lt;P&gt;Reagrds&lt;/P&gt;&lt;P&gt;Mahesh T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 05:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610627#M1114830</guid>
      <dc:creator />
      <dc:date>2014-02-20T05:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis, Month, Today in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610628#M1114831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I had found a similar post earlier, and it did not work, just tried yours and same results. returned 0.&lt;/P&gt;&lt;P&gt;I used&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sum({$&amp;lt;calDueDate={"&amp;gt;$(=Monthstart(today()))&amp;lt;$(=Monthend(today()))"}&amp;gt;}i_lifts)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 06:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610628#M1114831</guid>
      <dc:creator>cpiocpio</dc:creator>
      <dc:date>2014-02-20T06:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis, Month, Today in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610629#M1114832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Many thanks for this&lt;/P&gt;&lt;P&gt;I did as you suggested, added a new "field"/Variable to result in a returned value of Feb 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 14pt;"&gt;d_duedate&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;) &amp;amp; ' ' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 14pt;"&gt;d_duedate&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 14pt;"&gt;calDueMonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;({1&amp;lt;calDueMonthName = {'$(=Monthname(Today()))'}&amp;gt;} i_lifts) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;and it worked. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;My prime mistake was having a function to the left of the = sign in a set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 07:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610629#M1114832</guid>
      <dc:creator>cpiocpio</dc:creator>
      <dc:date>2014-02-20T07:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis, Month, Today in Straight Table</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610630#M1114833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to ALL&lt;/P&gt;&lt;P&gt;Many thanks for your suggestions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did as &lt;A href="https://community.qlik.com/people/swuehl"&gt;swuehl&lt;/A&gt; suggested, added a new "field"/Variable to result in a returned value of Feb 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 14pt;"&gt;d_duedate&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;) &amp;amp; ' ' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 14pt;"&gt;d_duedate&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 14pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 14pt;"&gt;calDueMonthName&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;({1&amp;lt;calDueMonthName = {'$(=Monthname(Today()))'}&amp;gt;} i_lifts) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;and it worked. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;My prime mistake was having a function to the left of the = sign in a set analysis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 07:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Month-Today-in-Straight-Table/m-p/610630#M1114833</guid>
      <dc:creator>cpiocpio</dc:creator>
      <dc:date>2014-02-20T07:05:56Z</dc:date>
    </item>
  </channel>
</rss>

