<?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 Charts with dynamic dimensions and date ranges in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Charts-with-dynamic-dimensions-and-date-ranges/m-p/545119#M1145874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can someone help with my query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to allow users to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;select to view data by calendar or fiscal dates&lt;/LI&gt;&lt;LI&gt;select an analysis date field (this could be 'order date', 'date required' etc. which are all in different tables)&lt;/LI&gt;&lt;LI&gt;select a period of analysis (day, month, quarter, ...)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;and then view the sales for those selections in a pivot or straight table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started doing this with a master calendar with fields such as calendar month, fiscal month, calendar year, fiscal year etc.&amp;nbsp; However this was linked to only one date field and so did not allow point 2 above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then tried to use island tables with one for calendar / fiscal view and one for analysis date view.&amp;nbsp; These had one column and the entries consisted of the values that the user will select: i.e. the analysis date island table was one field called 'Analysis Date' with entries 'order date', 'date required' etc.&amp;nbsp; I then used a variable with an if statement to pick the right field as a dimension in the chart (i.e. if Analysis Date = 'order date' then use the order date field).&amp;nbsp; I then created a load more variables to pull the month, quarter, year etc. for the date selected.&amp;nbsp; This worked perfectly for points 1 and 2 above although the table was slow to load.&amp;nbsp; However I can't achieve point 3 above as the period analysis 'fields' are all variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me?&amp;nbsp; There must be a smart way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Jul 2013 14:51:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-31T14:51:44Z</dc:date>
    <item>
      <title>Charts with dynamic dimensions and date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Charts-with-dynamic-dimensions-and-date-ranges/m-p/545119#M1145874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please can someone help with my query?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to allow users to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;select to view data by calendar or fiscal dates&lt;/LI&gt;&lt;LI&gt;select an analysis date field (this could be 'order date', 'date required' etc. which are all in different tables)&lt;/LI&gt;&lt;LI&gt;select a period of analysis (day, month, quarter, ...)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;and then view the sales for those selections in a pivot or straight table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started doing this with a master calendar with fields such as calendar month, fiscal month, calendar year, fiscal year etc.&amp;nbsp; However this was linked to only one date field and so did not allow point 2 above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then tried to use island tables with one for calendar / fiscal view and one for analysis date view.&amp;nbsp; These had one column and the entries consisted of the values that the user will select: i.e. the analysis date island table was one field called 'Analysis Date' with entries 'order date', 'date required' etc.&amp;nbsp; I then used a variable with an if statement to pick the right field as a dimension in the chart (i.e. if Analysis Date = 'order date' then use the order date field).&amp;nbsp; I then created a load more variables to pull the month, quarter, year etc. for the date selected.&amp;nbsp; This worked perfectly for points 1 and 2 above although the table was slow to load.&amp;nbsp; However I can't achieve point 3 above as the period analysis 'fields' are all variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me?&amp;nbsp; There must be a smart way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 14:51:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Charts-with-dynamic-dimensions-and-date-ranges/m-p/545119#M1145874</guid>
      <dc:creator />
      <dc:date>2013-07-31T14:51:44Z</dc:date>
    </item>
  </channel>
</rss>

