<?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: format time error in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102249#M365489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried everything and what worked for me was this&lt;/P&gt;&lt;P&gt;= AVG ({&amp;lt;FECHA_PL = {$ (= &lt;STRONG&gt;Chr (39)&lt;/STRONG&gt; &amp;amp; Max (date (FECHA_PL, 'DD / MM / YYYY')) &amp;amp; &lt;STRONG&gt;Chr (39)&lt;/STRONG&gt;)}&amp;gt;} ValorIndicador)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2016 20:45:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-07-19T20:45:28Z</dc:date>
    <item>
      <title>format time error in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102243#M365483</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'm trying to get the maximum value on the date using Set Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first y created a variable:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14689505230477506" jivemacro_uid="_14689505230477506"&gt;
&lt;P&gt;Date(MAX(Date(FECHA_PL)),'DD/MM/YYYY')&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the result is OK!&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="131834" alt="Screenshot_20.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/131834_Screenshot_20.png" style="height: 330px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I use this variable in Set Analysis but it returns Error&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="131835" alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/131835_Capture.PNG" style="height: 321px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should work like this:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="131836" alt="Screenshot_21.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/131836_Screenshot_21.png" style="height: 316px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 17:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102243#M365483</guid>
      <dc:creator />
      <dc:date>2016-07-19T17:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: format time error in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102244#M365484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Avg({&amp;lt;FECHA_PL = {&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;$(=Text(MaxFechaPL))&lt;SPAN style="color: #ff0000;"&gt;'&lt;/SPAN&gt;}&amp;gt;} ValorIndicator)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 18:28:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102244#M365484</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-19T18:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: format time error in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102245#M365485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Avg( &lt;STRONG&gt;{&amp;lt;FECHA_PL = {'$(MaxFechaPL)'}&amp;gt;}&lt;/STRONG&gt; ValorIndicador)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: Assuming your variable is defined with a leading equal sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or just use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Avg( &lt;/SPAN&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;{&amp;lt;FECHA_PL = {'$(=&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;Date(MAX(Date(FECHA_PL)),&lt;/SPAN&gt;&lt;SPAN class="string" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: blue;"&gt;'DD/MM/YYYY'&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; color: #000000;"&gt;)&lt;/SPAN&gt;)'}&amp;gt;}&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; ValorIndicador)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4394"&gt;Dates in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3996"&gt;The Little Equals Sign&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3444"&gt;The Magic of Dollar Expansions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3406"&gt;The Magic of Variables&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 18:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102245#M365485</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-19T18:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: format time error in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102246#M365486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be an opening bracket after max like = &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Avg( &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{&amp;lt;FECHA_PL = {'$(Max&lt;/STRONG&gt;(&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FechaPL))'}&amp;gt;}&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; ValorIndicador)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a fieldname MaxFechaPL, i doubt you missed a bracket here ? Correct me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 19:13:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102246#M365486</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-07-19T19:13:44Z</dc:date>
    </item>
    <item>
      <title>Re: format time error in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102247#M365487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Is MaxFechaPL is your variable name ? If Yes, follow what sunny and swuhel suggested. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 19:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102247#M365487</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-07-19T19:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: format time error in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102248#M365488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it doesn´t work &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 20:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102248#M365488</guid>
      <dc:creator />
      <dc:date>2016-07-19T20:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: format time error in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102249#M365489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried everything and what worked for me was this&lt;/P&gt;&lt;P&gt;= AVG ({&amp;lt;FECHA_PL = {$ (= &lt;STRONG&gt;Chr (39)&lt;/STRONG&gt; &amp;amp; Max (date (FECHA_PL, 'DD / MM / YYYY')) &amp;amp; &lt;STRONG&gt;Chr (39)&lt;/STRONG&gt;)}&amp;gt;} ValorIndicador)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 20:45:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102249#M365489</guid>
      <dc:creator />
      <dc:date>2016-07-19T20:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: format time error in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102250#M365490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried everything and what worked for me was this&lt;/P&gt;&lt;P&gt;= AVG ({&amp;lt;FECHA_PL = {$ (=&lt;STRONG&gt; Chr (39)&lt;/STRONG&gt; &amp;amp; Max (date (FECHA_PL, 'DD / MM / YYYY')) &amp;amp; &lt;STRONG&gt;Chr (39)&lt;/STRONG&gt;)}&amp;gt;} ValorIndicador)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 20:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/format-time-error-in-Set-Analysis/m-p/1102250#M365490</guid>
      <dc:creator />
      <dc:date>2016-07-19T20:46:13Z</dc:date>
    </item>
  </channel>
</rss>

