<?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: Dynamic target vs Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-target-vs-Year/m-p/2048804#M1222929</link>
    <description>&lt;DIV class="group w-full text-gray-800 dark:text-gray-100 border-b border-black/10 dark:border-gray-900/50 bg-gray-50 dark:bg-[#444654]"&gt;
&lt;DIV class="text-base gap-4 md:gap-6 md:max-w-2xl lg:max-w-2xl xl:max-w-3xl p-4 md:py-6 flex lg:px-0 m-auto"&gt;
&lt;DIV class="relative flex w-[calc(100%-50px)] flex-col gap-1 md:gap-3 lg:w-[calc(100%-115px)]"&gt;
&lt;DIV class="flex flex-grow flex-col gap-3"&gt;
&lt;DIV class="min-h-[20px] flex flex-col items-start gap-4 whitespace-pre-wrap"&gt;
&lt;DIV class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;P&gt;You can create a parameter in your table that allows users to select the year they want to see. Then, you can use this parameter to filter your data source to only include data for that year. You can then calculate the yearly target value by summing the target values for that year. Finally, you can calculate the achieved value based on the filtered data source and the calculation method you have in mind.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="flex justify-between"&gt;
&lt;DIV class="text-gray-400 flex self-end lg:self-center justify-center mt-2 gap-3 md:gap-4 lg:gap-1 lg:absolute lg:top-0 lg:translate-x-full lg:right-0 lg:mt-0 lg:pl-2 visible"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 14 Mar 2023 06:29:50 GMT</pubDate>
    <dc:creator>sarafoster</dc:creator>
    <dc:date>2023-03-14T06:29:50Z</dc:date>
    <item>
      <title>Dynamic target vs Year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-target-vs-Year/m-p/2047965#M1222906</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;I have a requirement to create a table with Target vs Achieved along with year as filter. Achieved gets calculated based on Target values populated in a table(i can take care of that).&lt;/P&gt;
&lt;P&gt;Can someone advise how can i get the Yearly Target values populated based on user selecting Year in a table?&lt;/P&gt;
&lt;P&gt;Attached file for your reference.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 14:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-target-vs-Year/m-p/2047965#M1222906</guid>
      <dc:creator>richard24best</dc:creator>
      <dc:date>2023-03-10T14:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic target vs Year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-target-vs-Year/m-p/2048135#M1222910</link>
      <description>&lt;P&gt;You can achieve this by creating a pivot table with the Target values and using a slicer to filter the data by year. Follow these steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a table with columns for Year and Target.&lt;/LI&gt;
&lt;LI&gt;Enter the Yearly Target values in the Target column for each year.&amp;nbsp; &lt;A href="https://www.homebargainsportal.com/" target="_self"&gt;&amp;nbsp;&lt;FONT color="#FFFFFF"&gt;Home Bargains Portal&lt;/FONT&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Create a pivot table with the Year column in the Rows area and the Target column in the Values area.&lt;/LI&gt;
&lt;LI&gt;Add a slicer to the pivot table for the Year column, allowing the user to select a specific year.&lt;/LI&gt;
&lt;LI&gt;Create a separate table for Achieved values, with columns for Year and Achieved.&lt;/LI&gt;
&lt;LI&gt;Calculate the Achieved values based on the Target values populated in the first table.&lt;/LI&gt;
&lt;LI&gt;Create a visualization such as a column chart that shows the Achieved values for the selected year alongside the Target value for that year.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;When the user selects a year in the slicer, the pivot table will update to show the Target value for that year. You can use this value to calculate the Achieved value and display it in the visualization.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2023 03:45:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-target-vs-Year/m-p/2048135#M1222910</guid>
      <dc:creator>sarafoster</dc:creator>
      <dc:date>2023-03-13T03:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic target vs Year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-target-vs-Year/m-p/2048804#M1222929</link>
      <description>&lt;DIV class="group w-full text-gray-800 dark:text-gray-100 border-b border-black/10 dark:border-gray-900/50 bg-gray-50 dark:bg-[#444654]"&gt;
&lt;DIV class="text-base gap-4 md:gap-6 md:max-w-2xl lg:max-w-2xl xl:max-w-3xl p-4 md:py-6 flex lg:px-0 m-auto"&gt;
&lt;DIV class="relative flex w-[calc(100%-50px)] flex-col gap-1 md:gap-3 lg:w-[calc(100%-115px)]"&gt;
&lt;DIV class="flex flex-grow flex-col gap-3"&gt;
&lt;DIV class="min-h-[20px] flex flex-col items-start gap-4 whitespace-pre-wrap"&gt;
&lt;DIV class="markdown prose w-full break-words dark:prose-invert light"&gt;
&lt;P&gt;You can create a parameter in your table that allows users to select the year they want to see. Then, you can use this parameter to filter your data source to only include data for that year. You can then calculate the yearly target value by summing the target values for that year. Finally, you can calculate the achieved value based on the filtered data source and the calculation method you have in mind.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="flex justify-between"&gt;
&lt;DIV class="text-gray-400 flex self-end lg:self-center justify-center mt-2 gap-3 md:gap-4 lg:gap-1 lg:absolute lg:top-0 lg:translate-x-full lg:right-0 lg:mt-0 lg:pl-2 visible"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Mar 2023 06:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-target-vs-Year/m-p/2048804#M1222929</guid>
      <dc:creator>sarafoster</dc:creator>
      <dc:date>2023-03-14T06:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic target vs Year</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-target-vs-Year/m-p/2049453#M1222953</link>
      <description>&lt;P&gt;Hi Sarafoster,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your advice. It worked when i changed the year and targets into rows and columns.&lt;/P&gt;
&lt;P&gt;But any idea how can i populate field targets even if the there is no data for that year. I mean i want the target to show even if there is no volumes. Snapshot attached for your reference where some fields target is showing as blank/null as they dont have volumes.&lt;/P&gt;
&lt;P&gt;Appreciate your help in advance.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QS issue.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/102819i8804DE655791DAAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="QS issue.PNG" alt="QS issue.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 11:19:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-target-vs-Year/m-p/2049453#M1222953</guid>
      <dc:creator>richard24best</dc:creator>
      <dc:date>2023-03-15T11:19:23Z</dc:date>
    </item>
  </channel>
</rss>

