<?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: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864287#M302478</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sharing below solution to benifit all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The root cause was the use of calculated dimensions (i.e. =$(vReportDimName(1) etc.).&amp;nbsp; While exporting to excel it evaluates this expression and get the actual dimension name.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="85841" class="jive-image" height="351" src="https://community.qlik.com/legacyfs/online/85841_Dimesions_Conditional_ShowHide.PNG" width="276" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution:&lt;/STRONG&gt; I have &lt;STRONG&gt;replaced =$(vReportDimName(1)) and other dimensions with &lt;SPAN style="font-size: 14pt;"&gt;actual dimension names&lt;/SPAN&gt;&lt;/STRONG&gt; (i.e. replaced actual column names avaible in data model &lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;like Region, Country&lt;/STRONG&gt;&lt;/SPAN&gt; etc). It boost the performance and now it just take few second (around 30 second) to export 80 dims and 50 expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that i have just replaced expression with acual column/dimension names in Used dimension part. I have still kept parameterized expression for the "Enable Conditional" and "Label".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Label Expressions for each columns&lt;/P&gt;&lt;P&gt;=$(vReportDimDisplayName(1))&lt;/P&gt;&lt;P&gt;=$(vReportDimDisplayName(2))&lt;/P&gt;&lt;P&gt;=$(vReportDimDisplayName(3))&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Underlying Variable&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;vReportDimDisplayName&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[_dimension Field Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {$1}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[_dimension Field Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt;The [_dimension Field Name]&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt; is coming from xls file and used to generate avaible report demesion list.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Further Enhancement:&lt;/STRONG&gt; I have created one time macro and button to execute that. The macro generates the above dynamic report straight table based on .xls file. It can be improved to run the macro post reload without clicking any button so that any new additional report columns in xls will be automaticaly added during every refresh in the straight table and to user for ad-hoc/self service report.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2015 17:32:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-06T17:32:42Z</dc:date>
    <item>
      <title>Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864285#M302476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created dynamic report based on conditional show/hide of expression and dimension (Qv 11 feature). Report is generated fine but the Qlikview in-built Export to excel is taking too long (Export to excel takes 8 mins just to export 2000 rows with 30 columns). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More details&lt;/P&gt;&lt;P&gt;1) Report is created with Straight table having 80 dimesions and 30 expression with paramaterized variables (conditional show or hide based on user selection) So only few will be enable based on user selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ad-hoc report (Straight&amp;nbsp; table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Dimension tab:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Dimesions_Conditional_ShowHide.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/85520_Dimesions_Conditional_ShowHide.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression tab:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Expression_Conditional_ShowHide.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/85521_Expression_Conditional_ShowHide.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I have tried export to csv using macro and its just taking 1 min but we must have to use AJAX (so i believe macro is not possible.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) We are using QV Version 11.2 (SR 7) and 64 bit. (I read post about some patch from QV to improve export performance but its old post (around 2012) and not sure if its applicable to this version - &lt;A href="https://community.qlik.com/thread/63455"&gt;Extremely slow Excel export&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe inbuilt Export to excel trying evaluate all dimensions (all 80) and expression (all 30) even though user has selected only few and could be the root cause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion or design change to improve the Export to excel performance?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 19:31:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864285#M302476</guid>
      <dc:creator />
      <dc:date>2015-05-01T19:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864286#M302477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any suggession to above approach?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the best approach to allow user to create ad hoc report with available selection of dimension (around 80) and expression (around 30)? Most important thing is the inbuilt (without macro) export to excel should work normally.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 14:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864286#M302477</guid>
      <dc:creator />
      <dc:date>2015-05-04T14:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864287#M302478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sharing below solution to benifit all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The root cause was the use of calculated dimensions (i.e. =$(vReportDimName(1) etc.).&amp;nbsp; While exporting to excel it evaluates this expression and get the actual dimension name.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="85841" class="jive-image" height="351" src="https://community.qlik.com/legacyfs/online/85841_Dimesions_Conditional_ShowHide.PNG" width="276" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solution:&lt;/STRONG&gt; I have &lt;STRONG&gt;replaced =$(vReportDimName(1)) and other dimensions with &lt;SPAN style="font-size: 14pt;"&gt;actual dimension names&lt;/SPAN&gt;&lt;/STRONG&gt; (i.e. replaced actual column names avaible in data model &lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;like Region, Country&lt;/STRONG&gt;&lt;/SPAN&gt; etc). It boost the performance and now it just take few second (around 30 second) to export 80 dims and 50 expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that i have just replaced expression with acual column/dimension names in Used dimension part. I have still kept parameterized expression for the "Enable Conditional" and "Label".&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Label Expressions for each columns&lt;/P&gt;&lt;P&gt;=$(vReportDimDisplayName(1))&lt;/P&gt;&lt;P&gt;=$(vReportDimDisplayName(2))&lt;/P&gt;&lt;P&gt;=$(vReportDimDisplayName(3))&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Underlying Variable&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;vReportDimDisplayName&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[_dimension Field Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {$1}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[_dimension Field Name]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 8pt;"&gt;The [_dimension Field Name]&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt; is coming from xls file and used to generate avaible report demesion list.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Further Enhancement:&lt;/STRONG&gt; I have created one time macro and button to execute that. The macro generates the above dynamic report straight table based on .xls file. It can be improved to run the macro post reload without clicking any button so that any new additional report columns in xls will be automaticaly added during every refresh in the straight table and to user for ad-hoc/self service report.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 17:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864287#M302478</guid>
      <dc:creator />
      <dc:date>2015-05-06T17:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864288#M302479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dharm,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently facing the same issue wherein I've used over 100 calculated dimensions to create a dynamic report. The Excel exports take forever. We raised this issue with Qlik and they've recognized it as a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets hope they fix this in the upcoming service-release!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 08:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864288#M302479</guid>
      <dc:creator>koresaket</dc:creator>
      <dc:date>2015-06-15T08:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864289#M302480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what SR have you had that acknowledged as a bug for? I have recently move to SR10 and finding the export slow here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 15:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864289#M302480</guid>
      <dc:creator />
      <dc:date>2015-06-19T15:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864290#M302481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue has not been resolved with any of their service-release till date.. They said they'll try to fix it with the next one! Hope so this gets resolved with SR13.. if there's going to be any.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 07:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864290#M302481</guid>
      <dc:creator>koresaket</dc:creator>
      <dc:date>2015-06-29T07:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864291#M302482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have the issue number that Qlik created for this if possible? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 07:49:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864291#M302482</guid>
      <dc:creator />
      <dc:date>2015-06-29T07:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864292#M302483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saket/Joe, The use of many &lt;STRONG&gt;Calculated Dimension &lt;/STRONG&gt;surely causing the export to excel slow.&lt;/P&gt;&lt;P&gt;I have made following changes for export work around (while qlik improve calculated dimension export enhancements).&lt;/P&gt;&lt;P&gt;1) Try to use Actual Column names coming from data model (in below screen the Region, Country, State are my data model columns.)&lt;/P&gt;&lt;P&gt;2) Try to avoid use of calculated columns as much as possible (if possible move that logic to data model/scripting side).&lt;/P&gt;&lt;P&gt;3) Use Export to CSV (instead of Export to Excel, where ever possible.)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Dimension_ActualDataModelColumn_Name.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/91218_Dimension_ActualDataModelColumn_Name.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 20:18:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864292#M302483</guid>
      <dc:creator />
      <dc:date>2015-06-29T20:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864293#M302484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Dharm or someone else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* I'm running 11.2 SR9. Is there much improvemnt in SR12? Is it worth upgrading for this reason?&lt;/P&gt;&lt;P&gt;* Why do i need to set the label? Can't i just the expression as label? As i'm using column names from the datamodel&lt;/P&gt;&lt;P&gt;* Anyone got a tip for optimising this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have this string:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vGetFieldSelections&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = Replace( &lt;BR /&gt; GetFieldSelections(sel1,'|',100) &amp;amp; '|' &amp;amp; &lt;BR /&gt; GetFieldSelections(sel2,'|',100) &amp;amp; '|' &amp;amp; &lt;BR /&gt; GetFieldSelections(sel3,'|',100) &amp;amp; '|'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; ,'||','|')&lt;BR /&gt; ;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vDimCustomReport&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = SubField(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vGetFieldSelections)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'|',$1);&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;SET&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;vConditionDimCustomReport&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = Len(SubField(&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(vGetFieldSelections)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'|',$1)); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension : &lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;STRONG style=": ; color: #808080; font-size: 8pt;"&gt;&lt;EM&gt;$(='[' &amp;amp; $(vDimCustomReport(1))) &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Condition on Dimension&lt;STRONG&gt; : &lt;/STRONG&gt;$(vConditionDimCustomReport(1))&lt;/P&gt;&lt;P&gt;Label : &amp;lt;Use Field Name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 11:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864293#M302484</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2015-09-24T11:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864294#M302485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amien,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;1) I have implemented above solution and its working well in SR7 (with 200+ dimensions). &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I haven't tried on SR12. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;2) &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;You can keep the &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Label : &amp;lt;Use Field Name&amp;gt; as long as you want to keep report column name exactly same as data model column.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;in my case, I have used Expression to populate Label because user wants user friendly name for column heading. Sometimes which are different than data model column name. I have created xlsx mapping file which has data model column name and related user define name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;3) I would advise you to use Actual data model column name in the &lt;STRONG&gt;Used Dimension&lt;/STRONG&gt; box otherwise you will face major performance issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dimension : &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;/SPAN&gt;&lt;STRONG style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #808080;"&gt;&lt;EM style="font-weight: inherit; font-size: 10.6667px; font-family: inherit;"&gt;$(='[' &amp;amp; $(vDimCustomReport(1)))&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;should be &lt;STRONG&gt;replaced by actual data model column name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 20:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864294#M302485</guid>
      <dc:creator />
      <dc:date>2015-09-24T20:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864295#M302486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-weight: inherit;"&gt;if &lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;EM style="font-weight: inherit; font-size: 10.6667px; font-family: inherit;"&gt;$(='[' &amp;amp; $(vDimCustomReport(1))) is evaluated .. it will result in a column name which actually exists in the data model.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;EM style="font-weight: inherit; font-size: 10.6667px; font-family: inherit;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;SR12 worked a bit better. I also going to try to double to server resources. It worked better on my high end laptop &lt;/SPAN&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;EM style="font-weight: inherit; font-size: 10.6667px; font-family: inherit;"&gt;I hope this will work&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #808080;"&gt;&lt;EM style="font-weight: inherit; font-size: 10.6667px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #808080;"&gt;&lt;EM style="font-weight: inherit; font-size: 10.6667px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 20:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864295#M302486</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2015-09-24T20:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864296#M302487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are your server specs btw? and how much records do you extract on an average usage?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Sep 2015 20:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864296#M302487</guid>
      <dc:creator>amien</dc:creator>
      <dc:date>2015-09-24T20:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864297#M302488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amien, I had started with the same approach &lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;EM style="font-family: inherit; font-size: 10.66px; font-weight: inherit;"&gt;$(='[' &amp;amp; $(vDimCustomReport(1))) &lt;/EM&gt;&lt;/SPAN&gt; was evaluating into the column name which was already exists in data model. So it will work but the performance will not be good.&lt;/P&gt;&lt;P&gt;1) You can try keeping the expression and add around 100 columns. You will notice perf issue.&lt;/P&gt;&lt;P&gt;2) Later on you can replace that express with actual data model column name in the Used Dimension and it will be much faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason behind 2) will be better because, Qlik knows what all column (dimension) you have used in your chart while rendering the chart and it will use optimized and much faster way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 1) it's 2 step process for each dimension and it cause perf issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 14:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864297#M302488</guid>
      <dc:creator />
      <dc:date>2015-09-25T14:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Export to excel slow - Ad-hoc report - Conditional dimesion and expression - AJAX mode</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864298#M302489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For my testing the sever used was 4 core CPU, 64 GB RAM and QVW size was more than 1 GB. Data around 1 million+&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2015 14:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-excel-slow-Ad-hoc-report-Conditional-dimesion-and/m-p/864298#M302489</guid>
      <dc:creator />
      <dc:date>2015-09-25T14:09:03Z</dc:date>
    </item>
  </channel>
</rss>

