<?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 Relate different Fields in Set Analysis for YTD Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Relate-different-Fields-in-Set-Analysis-for-YTD-Calculation/m-p/974690#M979940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I’m trying to calculate Year-to-Date (YTD) data, but I’m stumbling on the input format of the months. What happens is that the months are input into my QVW in numbers, such as 1 ,2, 3… where 1 refers to January, 2 refers to February, and so on.&lt;/P&gt;&lt;P&gt;In order to make my file more visually appealing, I wanted to show the actual month names in the Selection List. I did this by using the following Load Inline table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar1.GIF" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96727_Capturar1.GIF" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The difficulty lies in the fact that, in this particular company, the YTD is calculated from April to March of the next year. Therefore, I need to make another transformation, linking April to 1, May to 2, June to 3 and so on. I tried to do this using a Load Inline table once again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar2.GIF" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/96737_Capturar2.GIF" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user selects a month in the modMonth List, I need to take this selection to my Set Analysis (using GetFieldSelection), and “translate” it to it’s orderMonth correspondent, inside the SAME SET ANALYSYS EXPRESSION.&lt;/P&gt;&lt;P&gt;I don’t know how to make this link between the value I get in the selection and it’s correspondent that will be used in the calculation. Can anyone help me do this inside Set Analysis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Aug 2015 21:44:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-21T21:44:09Z</dc:date>
    <item>
      <title>Relate different Fields in Set Analysis for YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Relate-different-Fields-in-Set-Analysis-for-YTD-Calculation/m-p/974690#M979940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I’m trying to calculate Year-to-Date (YTD) data, but I’m stumbling on the input format of the months. What happens is that the months are input into my QVW in numbers, such as 1 ,2, 3… where 1 refers to January, 2 refers to February, and so on.&lt;/P&gt;&lt;P&gt;In order to make my file more visually appealing, I wanted to show the actual month names in the Selection List. I did this by using the following Load Inline table:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar1.GIF" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/96727_Capturar1.GIF" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;The difficulty lies in the fact that, in this particular company, the YTD is calculated from April to March of the next year. Therefore, I need to make another transformation, linking April to 1, May to 2, June to 3 and so on. I tried to do this using a Load Inline table once again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capturar2.GIF" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/96737_Capturar2.GIF" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user selects a month in the modMonth List, I need to take this selection to my Set Analysis (using GetFieldSelection), and “translate” it to it’s orderMonth correspondent, inside the SAME SET ANALYSYS EXPRESSION.&lt;/P&gt;&lt;P&gt;I don’t know how to make this link between the value I get in the selection and it’s correspondent that will be used in the calculation. Can anyone help me do this inside Set Analysis?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 21:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relate-different-Fields-in-Set-Analysis-for-YTD-Calculation/m-p/974690#M979940</guid>
      <dc:creator />
      <dc:date>2015-08-21T21:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Relate different Fields in Set Analysis for YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Relate-different-Fields-in-Set-Analysis-for-YTD-Calculation/m-p/974691#M979941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fields are already associated being in the same table, so if you select a modMonth, there will be only one possible value for orderMonth. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure how your expression looks like, but I assume the bigger issue is handling year bounderies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2015 21:53:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relate-different-Fields-in-Set-Analysis-for-YTD-Calculation/m-p/974691#M979941</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-21T21:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Relate different Fields in Set Analysis for YTD Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Relate-different-Fields-in-Set-Analysis-for-YTD-Calculation/m-p/974692#M979942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this posts:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3138"&gt;Fiscal Year&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7094"&gt;Fiscal and Standard Calendar generation&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Aug 2015 05:28:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relate-different-Fields-in-Set-Analysis-for-YTD-Calculation/m-p/974692#M979942</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2015-08-22T05:28:13Z</dc:date>
    </item>
  </channel>
</rss>

