<?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: problem with inyeartodate function. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/problem-with-inyeartodate-function/m-p/313021#M1192699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; use this in your load statement:if (year2date(Date),1,nul()) as YTD and then in your expression YTD * Amount&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt; &lt;/SPAN&gt;at least if I understand your problem....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style=": ; color: #5a005a; font-size: 1;"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&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;&lt;/P&gt;&lt;P&gt;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t;&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;&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;&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;&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;&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;&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;&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;&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;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2011 14:10:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-23T14:10:56Z</dc:date>
    <item>
      <title>problem with inyeartodate function.</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-inyeartodate-function/m-p/313018#M1192696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, well i'm new in qlikview, and i have a problem with the function inyeartodate, i need to obtain the sum of a range o dates, this part works well, in my qvw i have a selection of year and month&amp;nbsp; and a&amp;nbsp; table where i show this data, if i don't select a year, the function does what supose to do, but when i select a year, the column with de expresion of this function put all the values in 0, i don't know if i'm clear with my problem, but i hope that some one can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pd. sorry for my english&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 21:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-inyeartodate-function/m-p/313018#M1192696</guid>
      <dc:creator />
      <dc:date>2011-06-22T21:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem with inyeartodate function.</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-inyeartodate-function/m-p/313019#M1192697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the dimensions of your table and what is the expression you're&lt;/P&gt;&lt;P&gt;using the function in?  And how is your data structured?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 22:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-inyeartodate-function/m-p/313019#M1192697</guid>
      <dc:creator>gussfish</dc:creator>
      <dc:date>2011-06-22T22:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: problem with inyeartodate function.</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-inyeartodate-function/m-p/313020#M1192698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is my expresion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(InYearToDate(InvoiceDate,SetDateYear(varMaxDate,$(=max(Year))),-1)*-1 * Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;varMaxDate is my top date so with setdateyear i try to chage de year of this date when i select a year but it doesn't work, my dimension is a group, includes client, county, salesperson, the table of sales invoice contains the primary key of the client and salesperson and this are related with the table clients and salespersons, the table of sales invoice is related with a master calendar where i have de dates that i select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well this i think this is all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 13:42:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-inyeartodate-function/m-p/313020#M1192698</guid>
      <dc:creator />
      <dc:date>2011-06-23T13:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: problem with inyeartodate function.</title>
      <link>https://community.qlik.com/t5/QlikView/problem-with-inyeartodate-function/m-p/313021#M1192699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; use this in your load statement:if (year2date(Date),1,nul()) as YTD and then in your expression YTD * Amount&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #5a005a; font-size: 8pt;"&gt; &lt;/SPAN&gt;at least if I understand your problem....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN style=": ; color: #5a005a; font-size: 1;"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P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;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 14:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/problem-with-inyeartodate-function/m-p/313021#M1192699</guid>
      <dc:creator />
      <dc:date>2011-06-23T14:10:56Z</dc:date>
    </item>
  </channel>
</rss>

