<?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: How do I get selection values into an Excel Export filename? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-get-selection-values-into-an-Excel-Export-filename/m-p/781047#M1046306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;I haven't tried this myself, but I guess you could do something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;myExport_&lt;/SPAN&gt;' &amp;amp; date(ReportDate&lt;SPAN style="font-size: 13.63636302948px;"&gt;,'YYYYMMDD'&lt;/SPAN&gt; &amp;amp; '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;.csv'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that only a single ReportDate can be chosen when exporting? If it could be several ReportDates selected you will run into technical and logical problem with the above. To solve the technical part you can write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;='&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;myExport_&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;' &amp;amp; date(max(ReportDate)&lt;SPAN style="font-size: 13.63636302948px;"&gt;,'YYYYMMDD'&lt;/SPAN&gt; &amp;amp; '&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;.csv'&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: 12.7272720336914px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But the logical problem persists - there are multiple reports merged and exported.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Nov 2014 17:00:14 GMT</pubDate>
    <dc:creator>morgankejerhag</dc:creator>
    <dc:date>2014-11-19T17:00:14Z</dc:date>
    <item>
      <title>How do I get selection values into an Excel Export filename?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-selection-values-into-an-Excel-Export-filename/m-p/781046#M1046305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a button with an Export Action that exports data to CSV.&lt;/P&gt;&lt;P&gt;My main selection criteria is [Reporting Date] and I'd like the Export Action to name the file something like: myExport_&lt;STRONG&gt;20141119&lt;/STRONG&gt;.csv where &lt;STRONG&gt;20141119&lt;/STRONG&gt; is the current [Reporting Date] (I would need to format it to yyyyMMdd also).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get a value from the current selection criteria into the file name of the export action settings?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="71670" alt="ExportAction_320.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/71670_ExportAction_320.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QlikView help says "If you export to a file you must mark this check box and enter the file name. If no file name is entered, the values will be exported to the clipboard. &lt;EM&gt;The file name may be entered as a &lt;A class="MCXref_0"&gt;&lt;STRONG&gt;Calculated Formula&lt;/STRONG&gt;&lt;/A&gt;.&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trouble is, I'm a newbie and after searching this forum for over an hour, I can't find an example of this anywhere.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 16:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-selection-values-into-an-Excel-Export-filename/m-p/781046#M1046305</guid>
      <dc:creator />
      <dc:date>2014-11-19T16:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get selection values into an Excel Export filename?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-selection-values-into-an-Excel-Export-filename/m-p/781047#M1046306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt;I haven't tried this myself, but I guess you could do something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;myExport_&lt;/SPAN&gt;' &amp;amp; date(ReportDate&lt;SPAN style="font-size: 13.63636302948px;"&gt;,'YYYYMMDD'&lt;/SPAN&gt; &amp;amp; '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;.csv'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that only a single ReportDate can be chosen when exporting? If it could be several ReportDates selected you will run into technical and logical problem with the above. To solve the technical part you can write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;='&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;myExport_&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.63636302948px;"&gt;' &amp;amp; date(max(ReportDate)&lt;SPAN style="font-size: 13.63636302948px;"&gt;,'YYYYMMDD'&lt;/SPAN&gt; &amp;amp; '&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.7272720336914px;"&gt;.csv'&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: 12.7272720336914px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But the logical problem persists - there are multiple reports merged and exported.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 17:00:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-selection-values-into-an-Excel-Export-filename/m-p/781047#M1046306</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2014-11-19T17:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get selection values into an Excel Export filename?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-get-selection-values-into-an-Excel-Export-filename/m-p/781048#M1046307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You sir, are a ninja &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you, works like a charm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 17:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-get-selection-values-into-an-Excel-Export-filename/m-p/781048#M1046307</guid>
      <dc:creator />
      <dc:date>2014-11-19T17:07:16Z</dc:date>
    </item>
  </channel>
</rss>

