<?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 Chart Set Analysis not working when emailing in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Chart-Set-Analysis-not-working-when-emailing/m-p/215004#M68484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have code behind a button that does the follow:&lt;/P&gt;&lt;P&gt;1) Selected the current Year&lt;/P&gt;&lt;P&gt;2) Select the current Month&lt;/P&gt;&lt;P&gt;3) Selects the email recipient&lt;/P&gt;&lt;P&gt;4) Export a chart to excel&lt;/P&gt;&lt;P&gt;5) Emails the excel file the user.&lt;/P&gt;&lt;P&gt;All works, however, the YTD set analysis portion of the chart does not reflect YTD data in the email (or on the chart).&lt;/P&gt;&lt;P&gt;However, if I select everything manually (ie not through the button) the YTD set analysis portion of the chart is calculates acurately.&lt;/P&gt;&lt;P&gt;Any ideas what is happening?&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Apr 2010 23:00:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-04-14T23:00:53Z</dc:date>
    <item>
      <title>Chart Set Analysis not working when emailing</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Set-Analysis-not-working-when-emailing/m-p/215004#M68484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have code behind a button that does the follow:&lt;/P&gt;&lt;P&gt;1) Selected the current Year&lt;/P&gt;&lt;P&gt;2) Select the current Month&lt;/P&gt;&lt;P&gt;3) Selects the email recipient&lt;/P&gt;&lt;P&gt;4) Export a chart to excel&lt;/P&gt;&lt;P&gt;5) Emails the excel file the user.&lt;/P&gt;&lt;P&gt;All works, however, the YTD set analysis portion of the chart does not reflect YTD data in the email (or on the chart).&lt;/P&gt;&lt;P&gt;However, if I select everything manually (ie not through the button) the YTD set analysis portion of the chart is calculates acurately.&lt;/P&gt;&lt;P&gt;Any ideas what is happening?&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 23:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Set-Analysis-not-working-when-emailing/m-p/215004#M68484</guid>
      <dc:creator />
      <dc:date>2010-04-14T23:00:53Z</dc:date>
    </item>
    <item>
      <title>Chart Set Analysis not working when emailing</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Set-Analysis-not-working-when-emailing/m-p/215005#M68485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the formula you are using for the set analysis portion? What Actions (or Macro?) does the button have?&lt;/P&gt;&lt;P&gt;Is it possible for you to post an example qvw?&lt;/P&gt;&lt;P&gt;Mike.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 02:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Set-Analysis-not-working-when-emailing/m-p/215005#M68485</guid>
      <dc:creator>mike_garcia</dc:creator>
      <dc:date>2010-04-15T02:02:34Z</dc:date>
    </item>
    <item>
      <title>Chart Set Analysis not working when emailing</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Set-Analysis-not-working-when-emailing/m-p/215006#M68486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can only guess that the commands are being processed so fast that the chart is being exported before it's recalculated. If this is a macro, there is an API that takes care of it:&lt;/P&gt;&lt;P&gt;WaitForIdle - look it up in the API guide.&lt;/P&gt;&lt;P&gt;If you are doing it using Actions, - then I'm not sure you can force a pause to let all the charts recalculation prior to sending the e-mail. Just to verify the theory, try splitting the job into two buttons - first button applies selection, and the second button does the export and the e-mail part.&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV id="refHTML"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 03:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Set-Analysis-not-working-when-emailing/m-p/215006#M68486</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-04-15T03:21:48Z</dc:date>
    </item>
    <item>
      <title>Chart Set Analysis not working when emailing</title>
      <link>https://community.qlik.com/t5/QlikView/Chart-Set-Analysis-not-working-when-emailing/m-p/215007#M68487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found my problem. There are two fields that represent the month, one is a number the other is the name of the month. My set analysis was looking the the number, when I changed it to look at the name it worked.&lt;/P&gt;&lt;P&gt;It didn't look like I needed the WaitForIdle API but I did add it after the "selection"part of the code as it does process fast.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 16:33:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Chart-Set-Analysis-not-working-when-emailing/m-p/215007#M68487</guid>
      <dc:creator />
      <dc:date>2010-04-15T16:33:39Z</dc:date>
    </item>
  </channel>
</rss>

