<?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 Limit graph data in function of date filter selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Limit-graph-data-in-function-of-date-filter-selection/m-p/1672807#M50945</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a graph that is plotting data from a aggregation I have defined.&lt;/P&gt;&lt;P&gt;Currently the graphe shows all the data available in the source, no matter what the selections are.&lt;/P&gt;&lt;P&gt;However, I would like the data of the graph the be related to the week &amp;amp; year selected above, so that if the user choses weeknumber 3 and year 2020, the graph would show all the data UNTIL week number 3 of 2020, and not the data after.&lt;/P&gt;&lt;P&gt;What do I need to change in my formula to take the week &amp;amp; year concatenation in my selection ?&lt;/P&gt;&lt;P&gt;Attached is how my graph looks like currently and below is my data formula :&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[DimDate.WeekNumberOfYear]=,[DimDate.PublicationYear]=&amp;gt;}&lt;BR /&gt;aggr(&lt;BR /&gt;((sum({&amp;lt;[DimDate.WeekNumberOfYear]=,[DimDate.PublicationYear]=&amp;gt;}[#Fournis] + [#Reassorts] - [#Invendus])&lt;BR /&gt;+&lt;BR /&gt;sum({&amp;lt;[DimDate.WeekNumberOfYear]=,[DimDate.PublicationYear]=&amp;gt;} [#SubscriptionAlternateKeyOrderQuantity]))&lt;BR /&gt;)&lt;BR /&gt;,[DimProduct.ProductKey],Label_Flag_Gratuit,Mapping_Type,DiffusionType,[DimProduct.IsDigital],ConditionsAbosMod,ProductCategory,[DimGeography.CountryOrigin],[DimDate.WeekNumberOfYear],[DimDate.PublicationYear],PublicationDateKey&lt;BR /&gt;)&lt;BR /&gt;)/count({&amp;lt;[DimDate.IsDayOffBelgium] -= {1},[DimDate.WeekNumberOfYear]=,[DimDate.PublicationYear]=&amp;gt;}Distinct PublicationDateKey)&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Feb 2020 08:56:51 GMT</pubDate>
    <dc:creator>anmartin</dc:creator>
    <dc:date>2020-02-06T08:56:51Z</dc:date>
    <item>
      <title>Limit graph data in function of date filter selection</title>
      <link>https://community.qlik.com/t5/App-Development/Limit-graph-data-in-function-of-date-filter-selection/m-p/1672807#M50945</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a graph that is plotting data from a aggregation I have defined.&lt;/P&gt;&lt;P&gt;Currently the graphe shows all the data available in the source, no matter what the selections are.&lt;/P&gt;&lt;P&gt;However, I would like the data of the graph the be related to the week &amp;amp; year selected above, so that if the user choses weeknumber 3 and year 2020, the graph would show all the data UNTIL week number 3 of 2020, and not the data after.&lt;/P&gt;&lt;P&gt;What do I need to change in my formula to take the week &amp;amp; year concatenation in my selection ?&lt;/P&gt;&lt;P&gt;Attached is how my graph looks like currently and below is my data formula :&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[DimDate.WeekNumberOfYear]=,[DimDate.PublicationYear]=&amp;gt;}&lt;BR /&gt;aggr(&lt;BR /&gt;((sum({&amp;lt;[DimDate.WeekNumberOfYear]=,[DimDate.PublicationYear]=&amp;gt;}[#Fournis] + [#Reassorts] - [#Invendus])&lt;BR /&gt;+&lt;BR /&gt;sum({&amp;lt;[DimDate.WeekNumberOfYear]=,[DimDate.PublicationYear]=&amp;gt;} [#SubscriptionAlternateKeyOrderQuantity]))&lt;BR /&gt;)&lt;BR /&gt;,[DimProduct.ProductKey],Label_Flag_Gratuit,Mapping_Type,DiffusionType,[DimProduct.IsDigital],ConditionsAbosMod,ProductCategory,[DimGeography.CountryOrigin],[DimDate.WeekNumberOfYear],[DimDate.PublicationYear],PublicationDateKey&lt;BR /&gt;)&lt;BR /&gt;)/count({&amp;lt;[DimDate.IsDayOffBelgium] -= {1},[DimDate.WeekNumberOfYear]=,[DimDate.PublicationYear]=&amp;gt;}Distinct PublicationDateKey)&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 08:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Limit-graph-data-in-function-of-date-filter-selection/m-p/1672807#M50945</guid>
      <dc:creator>anmartin</dc:creator>
      <dc:date>2020-02-06T08:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Limit graph data in function of date filter selection</title>
      <link>https://community.qlik.com/t5/App-Development/Limit-graph-data-in-function-of-date-filter-selection/m-p/1676108#M51394</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;please go through the link attached&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/YTQ-QTD-MTD-and-WTD/ta-p/1489245" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/YTQ-QTD-MTD-and-WTD/ta-p/1489245&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 06:46:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Limit-graph-data-in-function-of-date-filter-selection/m-p/1676108#M51394</guid>
      <dc:creator>Kashyap_R</dc:creator>
      <dc:date>2020-02-17T06:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Limit graph data in function of date filter selection</title>
      <link>https://community.qlik.com/t5/App-Development/Limit-graph-data-in-function-of-date-filter-selection/m-p/1677404#M51505</link>
      <description>&lt;P&gt;Thank you for the link but unfortunately it doesn't resolve my problem because I don"t want Year/Month/Week-to date but rather Start of the data to date.&lt;/P&gt;&lt;P&gt;I have data from 2018 in my set thus I would like to shaw data from the very start until this date that is for example he 20th of Febrary 2020.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2020 08:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Limit-graph-data-in-function-of-date-filter-selection/m-p/1677404#M51505</guid>
      <dc:creator>anmartin</dc:creator>
      <dc:date>2020-02-20T08:20:33Z</dc:date>
    </item>
  </channel>
</rss>

