<?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 Multiple Dates confusion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233212#M84752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i guess the double outer join solution won't be practical as it creates over a billion records. i probably need a minimal solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Mar 2011 02:11:00 GMT</pubDate>
    <dc:creator>avastani</dc:creator>
    <dc:date>2011-03-01T02:11:00Z</dc:date>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233207#M84747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 types of dates in my case, Sale Date (Weekly), Inventory Date(weekly), both for a Product and Store combination.&lt;/P&gt;&lt;P&gt;I would like to be able to analyze my data for both Sales and Inventory independently of each other's date selections, i.e. if I pick Sales for 2009, I should be able to pick Inventory for 2010 and so on. I tried with Set analysis to ignore my Calendar selections for Inventory and vice versa for Sales but it doesn't seem to work.&lt;/P&gt;&lt;P&gt;The expressions being&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;InventoryYear=, InventoryWeek=&amp;gt;} QtySold) &amp;amp; SUM({&amp;lt;SalesYear=, SalesWeek=&amp;gt;} QtyInventory)&lt;/P&gt;&lt;P&gt;Am I missing something? I would have expected the engine to treat them both separately no matter what the other non-time dimensions are in the table or chart but it doesn't seem to do so. Any thoughts or suggestions are greatly appreciated. Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Feb 2011 19:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233207#M84747</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2011-02-28T19:57:06Z</dc:date>
    </item>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233208#M84748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks alright. Are you sure there is no other filter you are selecting that is modifying indirectly the result?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 01:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233208#M84748</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-03-01T01:24:41Z</dc:date>
    </item>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233209#M84749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it depends on how your data model looks like. Do you use concatenated or linktable datamodel to share the product and store dimensions for the fact tables? Are you able to post an example in a miniqvw in which the datamodel is displayed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 01:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233209#M84749</guid>
      <dc:creator>tabletuner</dc:creator>
      <dc:date>2011-03-01T01:42:19Z</dc:date>
    </item>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233210#M84750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no filters selected. seems like it isn't working. i am going to try and create an outer join of the 2 calendar tables with the outer join or all product and store combinations which should work i am thinking.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 01:54:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233210#M84750</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2011-03-01T01:54:43Z</dc:date>
    </item>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233211#M84751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i use a link table model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 01:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233211#M84751</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2011-03-01T01:56:07Z</dc:date>
    </item>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233212#M84752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i guess the double outer join solution won't be practical as it creates over a billion records. i probably need a minimal solution&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 02:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233212#M84752</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2011-03-01T02:11:00Z</dc:date>
    </item>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233213#M84753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that where this falls apart is when I add the complexity of different Price Levels by Product.&lt;/P&gt;&lt;P&gt;My expression is&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;InventoryYear=, InventoryWeek=&amp;gt;} AGGR(SUM( {&amp;lt;InventoryYear=, InventoryWeek=&amp;gt;}QuantitySold) * SUM( {&amp;lt;PriceLevel = {'$(varSelectedLevel)'}&amp;gt;}Price), Product, SalesYear, ProductLine))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 16:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233213#M84753</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2011-03-01T16:31:06Z</dc:date>
    </item>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233214#M84754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you clear the dates in the Price formula?&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;InventoryYear=, InventoryWeek=&amp;gt;} AGGR(SUM( {&amp;lt;InventoryYear=, InventoryWeek=&amp;gt;}QuantitySold) * SUM( {&amp;lt;InventoryYear=, InventoryWeek=,PriceLevel = {'$(varSelectedLevel)'}&amp;gt;}Price), Product, SalesYear, ProductLine))&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;InventoryYear=, InventoryWeek=&amp;gt;} AGGR(SUM( {&amp;lt;InventoryYear=, InventoryWeek=&amp;gt;}QuantitySold) * SUM( {&amp;lt;SalesYear=, SalesWeek=,PriceLevel = {'$(varSelectedLevel)'}&amp;gt;}Price), Product, SalesYear, ProductLine))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 19:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233214#M84754</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-03-01T19:31:38Z</dc:date>
    </item>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233215#M84755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then I get null as my Price. That's where I think the problem is.&lt;/P&gt;&lt;P&gt;It doesn't like {&amp;lt;InventoryYear=, InventoryWeek=&amp;gt;} in the SUM(Price) expression. Just don't understand why... any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 19:50:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233215#M84755</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2011-03-01T19:50:40Z</dc:date>
    </item>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233216#M84756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you upload a picture of your data model highlighting the relationship of all the fields you use in the formula? What is the varSelectedLevel variable?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 20:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233216#M84756</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-03-01T20:03:23Z</dc:date>
    </item>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233217#M84757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;var SelectedLevel is the Level that the user selects on the front end. Available selections from the Crosslevels table. &lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/0207.dm.png"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/0207.dm.png" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 20:13:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233217#M84757</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2011-03-01T20:13:54Z</dc:date>
    </item>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233218#M84758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it would be easier to concatenae the SAP and Inventory tables instead of the link table, but regardless can you tell be which of the following formulas work? I have my suspicion that the real problem might be the aggr().&lt;/P&gt;&lt;P&gt;What is the result of the following formulas?&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;PriceLevel = {'$(varSelectedLevel)'}&amp;gt;}Price)&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;InventoryYear=, InventoryWeek=,PriceLevel = {'$(varSelectedLevel)'}&amp;gt;}Price)&lt;/P&gt;&lt;P&gt;SUM( AGGR(SUM(PriceLevel = {'$(varSelectedLevel)'}&amp;gt;}Price), Product, SalesYear, ProductLine))&lt;/P&gt;&lt;P&gt;SUM( AGGR(SUM(PriceLevel = {'$(varSelectedLevel)'}&amp;gt;}Price), SalesYear))&lt;/P&gt;&lt;P&gt;SUM( AGGR(SUM(PriceLevel = {'$(varSelectedLevel)'}&amp;gt;}Price), ProductLine))&lt;/P&gt;&lt;P&gt;SUM( AGGR(SUM(PriceLevel = {'$(varSelectedLevel)'}&amp;gt;}Price), Product))&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;InventoryYear=, InventoryWeek=&amp;gt;} AGGR(SUM(PriceLevel = {'$(varSelectedLevel)'}&amp;gt;}Price), Product, SalesYear, ProductLine))&lt;/P&gt;&lt;P&gt;Or play around with other variations to understand the behavior of the model. After seeing the model, I think this has more to do with the linktable then the handling of 2 dates.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 21:50:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233218#M84758</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-03-01T21:50:08Z</dc:date>
    </item>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233219#M84759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how would a concatenated table structure work because the calendar dates are not in common. so if one picks 2010 sales year, it would grey out inventory data unless i found a way to associate it together&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 22:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233219#M84759</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2011-03-01T22:47:34Z</dc:date>
    </item>
    <item>
      <title>Multiple Dates confusion</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233220#M84760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karl,&lt;/P&gt;&lt;P&gt;I can see why you are saying the LinkTable is the culprit. I used&lt;/P&gt;&lt;P&gt;SUM( {&amp;lt;InventoryYear=, InventoryWeek=,PriceLevel = {'$(varSelectedLevel)'}&amp;gt;}Price) and the behavior was that I could select any Inventory Year or week and Prices didn't change. But when I surround that in an AGGR they fall apart. It wouldn't ignore the Inventory calendar selections.&lt;/P&gt;&lt;P&gt;The LinkTable is nothing but a full outer join of the Stores and SKU tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Mar 2011 23:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Dates-confusion/m-p/233220#M84760</guid>
      <dc:creator>avastani</dc:creator>
      <dc:date>2011-03-01T23:02:26Z</dc:date>
    </item>
  </channel>
</rss>

