<?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: Can default views be 2 different years in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-default-views-be-2-different-years/m-p/766903#M1023396</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Default view is weekly for my dashboard.&amp;nbsp; In January 2015 if a user selected monthly, it would be blank.&amp;nbsp; I would like it to go to December 2014 until monthly results for January 2015 were loaded.&amp;nbsp; Can I create a loadscript to show previous (December 2014) year's month ending data even though the default view for the bar charts is showing 2015 weekly data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Mar 2015 20:24:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-09T20:24:30Z</dc:date>
    <item>
      <title>Can default views be 2 different years</title>
      <link>https://community.qlik.com/t5/QlikView/Can-default-views-be-2-different-years/m-p/766901#M1023394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our current dashboard is shown weekly with 2015 data.&amp;nbsp; Before the January's results are loaded, can it show December 2014 monthly results when monthly is selected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 14:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-default-views-be-2-different-years/m-p/766901#M1023394</guid>
      <dc:creator />
      <dc:date>2015-03-09T14:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can default views be 2 different years</title>
      <link>https://community.qlik.com/t5/QlikView/Can-default-views-be-2-different-years/m-p/766902#M1023395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to provide a lot more information if you want a detailed response. Is it in a chart, in that case what kind. It sound like there are several object that need to change?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to change your dimensions into expressions with if statements.&lt;/P&gt;&lt;P&gt;There are several ways to do this but a simple way be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a variable in the loadscript with the max(date) of your data. lets call it vMaxDataDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;if(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;vMaxDataDate&amp;lt;yearstart(today()), Month, Week).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I understood your problem correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 15:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-default-views-be-2-different-years/m-p/766902#M1023395</guid>
      <dc:creator>linusblomberg</dc:creator>
      <dc:date>2015-03-09T15:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can default views be 2 different years</title>
      <link>https://community.qlik.com/t5/QlikView/Can-default-views-be-2-different-years/m-p/766903#M1023396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Default view is weekly for my dashboard.&amp;nbsp; In January 2015 if a user selected monthly, it would be blank.&amp;nbsp; I would like it to go to December 2014 until monthly results for January 2015 were loaded.&amp;nbsp; Can I create a loadscript to show previous (December 2014) year's month ending data even though the default view for the bar charts is showing 2015 weekly data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 20:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-default-views-be-2-different-years/m-p/766903#M1023396</guid>
      <dc:creator />
      <dc:date>2015-03-09T20:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can default views be 2 different years</title>
      <link>https://community.qlik.com/t5/QlikView/Can-default-views-be-2-different-years/m-p/766904#M1023397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So is the problem that on january 2 you will not have any for january? that the data might come on say january 23 or even later? I'm not sure I understand the issue well enough but I'm sure I can help you out once I do.&lt;/P&gt;&lt;P&gt;How do you obatin the default view? is anything selected when you show weekly for jan 2015? if so do you use a trigger for that?&lt;/P&gt;&lt;P&gt;otherwise do you use set analysis to make it show jan 2015?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think your issue will be solved with a few variables and set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your bar charts you can use a variable that contains either week or month depending on your rules for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 07:56:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-default-views-be-2-different-years/m-p/766904#M1023397</guid>
      <dc:creator>linusblomberg</dc:creator>
      <dc:date>2015-03-10T07:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can default views be 2 different years</title>
      <link>https://community.qlik.com/t5/QlikView/Can-default-views-be-2-different-years/m-p/766905#M1023398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do this take on of your objects, like a bar chart and tell us the properties. use copy paste&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension:&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selections (date):&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 07:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-default-views-be-2-different-years/m-p/766905#M1023398</guid>
      <dc:creator>linusblomberg</dc:creator>
      <dc:date>2015-03-10T07:58:31Z</dc:date>
    </item>
  </channel>
</rss>

