Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have a list of Customers and I have an alert set up to email me when a Customer is below 28 Days, working fine.
In the Subject of the Email I then want to add the 5 Customer Names that meet the same Criteria as a Concatenated string separated by a ;
How can I achieve this
Try:
=Concat(AGGR(If(MIN([License Expiry Date]-TODAY())<= 28 ,[Customer 1]),[Customer 1]), ';')
Have you tried like:
=Concat( Distinct If(....), ';') ?
How are you sending email? Through Qlikview Server or Macro in your Dashboard? If you are sending through your dashboard you could use Concat() function as mentioned above by tresesco.
I have the following expression that sends the email when it return 1
=IF(MIN(AGGR(MIN([License Expiry Date]-TODAY()),[Customer 1])) <= 28,1,0)
then in the email i tried what you suggested with concat distinct but I could not get it working
I have 5 Customers that are less than the 28 days so I would like to show these names in the email subject
Regards
Al
Assuming you are using the Alert in the Tool menu for sending the mail, there is something called as mail subject. Using the Concat() function there should help you list the customer names.
Else have a variable which uses the Concat() function to get the list of customer names and use this variable in the mail subject.
If you can send the qvw we can try it out and send you back.
Regards,
Pramod K
Try:
=Concat(AGGR(If(MIN([License Expiry Date]-TODAY())<= 28 ,[Customer 1]),[Customer 1]), ';')
through Alerts, no macro, no server
Reply from tresesco should work.
Thanks guys works perfect