<?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: Alert Text in Email in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Alert-Text-in-Email/m-p/611911#M225798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This expression looks fine.&amp;nbsp; You could check it over by pasting it into a text box and seeing how it comes out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also do line feeds in string fields, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;='Total Non Conformances on Yesterdays HAV SO:'&amp;amp;num(sum({1&amp;lt;[DoM] = {'$(vYstrday)'}&amp;gt;} NON_CONFORMANCE_COUNT), '#,###') &amp;amp; '&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;No of tests within target (Shop Order Qual Score):'&amp;amp;num(sum({$&amp;lt;[DoM] = {'$(vYstrday)'}&amp;gt;}IDEAL_COUNT)/ sum({$&amp;lt;[DoM] = {'$(vYstrday)'}&amp;gt;}TOTAL_COUNT), '##%') &amp;amp; '&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date of Manuf'&amp;amp;' '&amp;amp;min({1&amp;lt;[DoM] = {'$(vYstrday)'}&amp;gt;} DoM)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may yield a different result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be that your mail server is stripping out certain characters - can you try sending via a different server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thought is it may be that your mail is being sent in HTML mode, in which case white space (including line feeds) is ignored and replaced with a single space.&amp;nbsp; You could try inserting HTML into the code, replacing all CHR(10) fields with '&amp;lt;br&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully one of those things will work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;- Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Feb 2014 18:17:51 GMT</pubDate>
    <dc:creator>stevedark</dc:creator>
    <dc:date>2014-02-05T18:17:51Z</dc:date>
    <item>
      <title>Alert Text in Email</title>
      <link>https://community.qlik.com/t5/QlikView/Alert-Text-in-Email/m-p/611908#M225795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have an alert that is triggered once a day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the body of the email are some key figures about a production run driven by some set analysis statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the email that goes out to people all these measures are presented on one line and it looks really untidy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get the three KPI's to show on three separate lines in the email. I've tried various chr()'s, any help gratefully received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Darrell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 15:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alert-Text-in-Email/m-p/611908#M225795</guid>
      <dc:creator>darrellbutler</dc:creator>
      <dc:date>2014-02-05T15:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Alert Text in Email</title>
      <link>https://community.qlik.com/t5/QlikView/Alert-Text-in-Email/m-p/611909#M225796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Darrell,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have separate fields that you are stringing together you should be able to concatenate in chr(10) and chr(13) characters, or just have carriage returns in quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A useful trick I often use when you have values in a data set is using Aggr and Concat:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Concat(Aggr(Client &amp;amp; ': ' &amp;amp; num(sum(Mileage), '#,##0'), Client), '&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the closing quotation and bracket being on the next line puts carriage returns into the email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 15:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alert-Text-in-Email/m-p/611909#M225796</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-02-05T15:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Alert Text in Email</title>
      <link>https://community.qlik.com/t5/QlikView/Alert-Text-in-Email/m-p/611910#M225797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help - I'm still toiling though !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='Total Non Conformances on Yesterdays HAV SO:'&amp;amp;num(sum({1&amp;lt;[DoM] = {'$(vYstrday)'}&amp;gt;} NON_CONFORMANCE_COUNT), '#,###') &amp;amp; chr(10) &amp;amp; &lt;/P&gt;&lt;P&gt;'No of tests within target (Shop Order Qual Score):'&amp;amp;num(sum({$&amp;lt;[DoM] = {'$(vYstrday)'}&amp;gt;}IDEAL_COUNT)/ sum({$&amp;lt;[DoM] = {'$(vYstrday)'}&amp;gt;}TOTAL_COUNT), '##%') &amp;amp; chr(10) &amp;amp;&lt;/P&gt;&lt;P&gt; 'Date of Manuf'&amp;amp;' '&amp;amp;min({1&amp;lt;[DoM] = {'$(vYstrday)'}&amp;gt;} DoM)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally on the email I want three lines of text with the resultant score alongside, at present it's all one line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you've got time I'd appreciate any help you can offer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 17:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alert-Text-in-Email/m-p/611910#M225797</guid>
      <dc:creator>darrellbutler</dc:creator>
      <dc:date>2014-02-05T17:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Alert Text in Email</title>
      <link>https://community.qlik.com/t5/QlikView/Alert-Text-in-Email/m-p/611911#M225798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This expression looks fine.&amp;nbsp; You could check it over by pasting it into a text box and seeing how it comes out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also do line feeds in string fields, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;='Total Non Conformances on Yesterdays HAV SO:'&amp;amp;num(sum({1&amp;lt;[DoM] = {'$(vYstrday)'}&amp;gt;} NON_CONFORMANCE_COUNT), '#,###') &amp;amp; '&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;No of tests within target (Shop Order Qual Score):'&amp;amp;num(sum({$&amp;lt;[DoM] = {'$(vYstrday)'}&amp;gt;}IDEAL_COUNT)/ sum({$&amp;lt;[DoM] = {'$(vYstrday)'}&amp;gt;}TOTAL_COUNT), '##%') &amp;amp; '&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date of Manuf'&amp;amp;' '&amp;amp;min({1&amp;lt;[DoM] = {'$(vYstrday)'}&amp;gt;} DoM)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This may yield a different result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be that your mail server is stripping out certain characters - can you try sending via a different server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thought is it may be that your mail is being sent in HTML mode, in which case white space (including line feeds) is ignored and replaced with a single space.&amp;nbsp; You could try inserting HTML into the code, replacing all CHR(10) fields with '&amp;lt;br&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully one of those things will work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;- Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 18:17:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Alert-Text-in-Email/m-p/611911#M225798</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-02-05T18:17:51Z</dc:date>
    </item>
  </channel>
</rss>

