<?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: Obtain calculated columns for current year, current month, last year in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Obtain-calculated-columns-for-current-year-current-month-last/m-p/2421846#M95744</link>
    <description>&lt;P&gt;Thanks for the information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to use the information you sent me, it seems like there is an issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alespooletto_0-1708530598536.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160365i23F0E701ADB1445D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alespooletto_0-1708530598536.png" alt="alespooletto_0-1708530598536.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I understand correctly, I changed the DateField with the one I want, and the YearStart is a function, but it seems like this one won't work. It gives me this error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alespooletto_1-1708530639306.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160366i3FD898F3983F1B98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alespooletto_1-1708530639306.png" alt="alespooletto_1-1708530639306.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the patience&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2024 15:50:49 GMT</pubDate>
    <dc:creator>alespooletto</dc:creator>
    <dc:date>2024-02-21T15:50:49Z</dc:date>
    <item>
      <title>Obtain calculated columns for current year, current month, last year</title>
      <link>https://community.qlik.com/t5/App-Development/Obtain-calculated-columns-for-current-year-current-month-last/m-p/2421826#M95739</link>
      <description>&lt;P&gt;The table I am working with is very simple, it literally has only the name of the office, and the sum of its orders in total.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alespooletto_0-1708528637269.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160363iC8F2A52A055EE4B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alespooletto_0-1708528637269.png" alt="alespooletto_0-1708528637269.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to make some columsn that give me, the Net IO for the whole year until now, for the current month ,and for the current year. Are the functions YTD() available in power BI usable in the same way here? And if they do, how can I change the name of the column to show it's only for the specific period of time?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 15:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Obtain-calculated-columns-for-current-year-current-month-last/m-p/2421826#M95739</guid>
      <dc:creator>alespooletto</dc:creator>
      <dc:date>2024-02-21T15:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Obtain calculated columns for current year, current month, last year</title>
      <link>https://community.qlik.com/t5/App-Development/Obtain-calculated-columns-for-current-year-current-month-last/m-p/2421835#M95741</link>
      <description>&lt;P&gt;Assuming the current Date is the max. Date you can use these set analyses to create the values:&lt;/P&gt;
&lt;P&gt;YTD: {&amp;lt;DateField={"&amp;gt;=$(=YearStart(DateField))"}&amp;gt;}&lt;/P&gt;
&lt;P&gt;PYTD: {&amp;lt;DateField={"&amp;gt;=$(=YearStart(AddYears(DateField, -1))) &amp;lt;$(=YearStart(DateField))"}&amp;gt;}&lt;/P&gt;
&lt;P&gt;MTD: {&amp;lt;DateField={"&amp;gt;=$(=MonthStart(DateField))"}&amp;gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 15:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Obtain-calculated-columns-for-current-year-current-month-last/m-p/2421835#M95741</guid>
      <dc:creator>LRuCelver</dc:creator>
      <dc:date>2024-02-21T15:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Obtain calculated columns for current year, current month, last year</title>
      <link>https://community.qlik.com/t5/App-Development/Obtain-calculated-columns-for-current-year-current-month-last/m-p/2421836#M95742</link>
      <description>&lt;P&gt;Thank you for the response. Is it possible to put these formulas directly into the Load Editor script?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 15:29:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Obtain-calculated-columns-for-current-year-current-month-last/m-p/2421836#M95742</guid>
      <dc:creator>alespooletto</dc:creator>
      <dc:date>2024-02-21T15:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Obtain calculated columns for current year, current month, last year</title>
      <link>https://community.qlik.com/t5/App-Development/Obtain-calculated-columns-for-current-year-current-month-last/m-p/2421839#M95743</link>
      <description>&lt;P&gt;No. Set Analysis can only be used if charts.&lt;/P&gt;
&lt;P&gt;If you want to calculate these measures in the script you would have to aggregate by the year/month and only keep the relevant results.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 15:35:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Obtain-calculated-columns-for-current-year-current-month-last/m-p/2421839#M95743</guid>
      <dc:creator>LRuCelver</dc:creator>
      <dc:date>2024-02-21T15:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Obtain calculated columns for current year, current month, last year</title>
      <link>https://community.qlik.com/t5/App-Development/Obtain-calculated-columns-for-current-year-current-month-last/m-p/2421846#M95744</link>
      <description>&lt;P&gt;Thanks for the information.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to use the information you sent me, it seems like there is an issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alespooletto_0-1708530598536.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160365i23F0E701ADB1445D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alespooletto_0-1708530598536.png" alt="alespooletto_0-1708530598536.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I understand correctly, I changed the DateField with the one I want, and the YearStart is a function, but it seems like this one won't work. It gives me this error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alespooletto_1-1708530639306.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/160366i3FD898F3983F1B98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alespooletto_1-1708530639306.png" alt="alespooletto_1-1708530639306.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the patience&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 15:50:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Obtain-calculated-columns-for-current-year-current-month-last/m-p/2421846#M95744</guid>
      <dc:creator>alespooletto</dc:creator>
      <dc:date>2024-02-21T15:50:49Z</dc:date>
    </item>
  </channel>
</rss>

