<?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: Chart dimension taking too long to load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-dimension-taking-too-long-to-load/m-p/727853#M260848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can handle the same in Scripting as calculated dimensions are resource consuming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Oct 2014 06:07:52 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2014-10-30T06:07:52Z</dc:date>
    <item>
      <title>Chart dimension taking too long to load</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-dimension-taking-too-long-to-load/m-p/727850#M260845</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;I have a table with a field called "Time". It has hundreds of thousands of instances (but only around 2000 unique values). On a line chart, I want to show only 48 time values at a time no matter the selection (reason being is to show 48 intervals of 30 minute "Time" values, from 0:00 to 23:30). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I want to convert this to different time zones so in the chart dimension I used this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Region='EMEA',time(Time,'hh:mm'),&lt;/P&gt;&lt;P&gt;if(Region='APAC',time(Time+maketime(8,0,0),'hh:mm'),&lt;/P&gt;&lt;P&gt;if(Region='Americas',time(Time-maketime(5,0,0),'hh:mm'))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However this hangs the QV document or takes too long to load. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I display only 48 values at a time and with the Region condition in the dimension? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot create different time zone Time values in the script because the QVDs have already been created for many months now. So I would like the make the manipulations in the front-end.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 05:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-dimension-taking-too-long-to-load/m-p/727850#M260845</guid>
      <dc:creator>sifatnabil</dc:creator>
      <dc:date>2014-10-30T05:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Chart dimension taking too long to load</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-dimension-taking-too-long-to-load/m-p/727851#M260846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF conditions are resource intensive, try using Pick Match functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 05:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-dimension-taking-too-long-to-load/m-p/727851#M260846</guid>
      <dc:creator>alkesh_sharma</dc:creator>
      <dc:date>2014-10-30T05:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Chart dimension taking too long to load</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-dimension-taking-too-long-to-load/m-p/727852#M260847</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;Handling in script is the best solution, to overcome this change the script like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=if(Region='EMEA',time(Time,'hh:mm'), if(Region='APAC',time(Time+maketime(8,0,0),'hh:mm'),&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if(Region='Americas',time(Time-maketime(5,0,0),'hh:mm')))) AS TimeDimension&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM Data.qvd;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now use this field in charts, so this way you can avoid calculated dimension.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 05:56:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-dimension-taking-too-long-to-load/m-p/727852#M260847</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-10-30T05:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Chart dimension taking too long to load</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-dimension-taking-too-long-to-load/m-p/727853#M260848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can handle the same in Scripting as calculated dimensions are resource consuming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 06:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-dimension-taking-too-long-to-load/m-p/727853#M260848</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2014-10-30T06:07:52Z</dc:date>
    </item>
  </channel>
</rss>

