Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
yosemite
Helper III
Helper III

Bulk email/mail: multiple emails

Hi, guys

These ideas were presented several years ago. Do you know if it is now possible to send a group email to the users listed in my table?

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/19156099-mass-email

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/20288017-mailto-multi-recipients

It looks like the mailto link is still designed to send an email to a single recipient. Let me know if I'm wrong.

https://bimentalist.com/2018/06/27/how-to-create-email-link-in-your-power-bi-dashboard/

Thank you.

1 ACCEPTED SOLUTION

@yosemite , thanks for linking to my solution from last year. I uploaded your PBIX file to the Power BI Service without making any changes, and your "Email All" button worked well. The measure you created is correct. I think the limitation you're seeing is just related to Power BI Desktop.

View solution in original post

15 REPLIES 15
v-shex-msft
Community Support
Community Support

HI @yosemite,

I think this should more relate to the power bi desktop itself. (I copied the string that generated from the DAX formula)

If I create a hyperlink in other applications, it works to open the mail application with pasted these concatenated accounts in 'To' box.

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Hello @v-shex-msft ,

 

This formula for single email works to open the mail application:

Email Link = CONCATENATE("mailto:" ,Table[Email])

 

But this formula for multiple email doesn't open the mail application even if it is categorized as a Web URL in Power BI desktop:

Email All = "mailto:" & CONCATENATEX(VALUES ('Table'[Email]), 'Table'[Email], "; ")

 

Do you mind updating the PBIX I posted to show how you made it work? Thanks for your help.

Hello, do you have a solution for when the mailto charater limit go over 2000

Right click the email icon and copy-paste the mailto: link into your email to/cc/bcc field. Works all the same as clicking and generating the link to a list under 2000 characters

@yosemite , thanks for linking to my solution from last year. I uploaded your PBIX file to the Power BI Service without making any changes, and your "Email All" button worked well. The measure you created is correct. I think the limitation you're seeing is just related to Power BI Desktop.

@pdbenbow You are right. Thank you so much!

yosemite
Helper III
Helper III

Hello guys,

 

These ideas were submitted several years back. Do you know if it is now possible to send a group email to the users listed in my table? 

 

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/19156099-mass-email

https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/20288017-mailto-multi-recipients

 

It looks like the mailto link is still currently designed to send an email to single recipient. Let me know if I'm wrong.

 

https://bimentalist.com/2018/06/27/how-to-create-email-link-in-your-power-bi-dashboard/

 

Thanks you.

@yosemite looks like a duplicate post.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Your database should contain a column with the following inputs :

mailto:mike@company?to=john@company.com - an e-mail will be sent to both Mike and John (**Example below)

mailto:mike@company?cc=john@company.com - by exchanging "?to=" with "?cc=", an e-mail will be sent to Mike with John on copy

 

**Example of a database in Excel:

paulinka_3-1688485975051.png

Create a column "Count" to count owners listed by "/"

Cell C2 =IF(LEN(TRIM(A2))=0,0,LEN(A2)-LEN(SUBSTITUTE(A2,"/",""))+1)

paulinka_5-1688486099982.png

Create a column "mailto to" using diverse functions (this function is limited to 2 owners). I setup a fixed range of data $A$2:$B$5

 

Cell D2 =IF(C2=2,"mailto:"&XLOOKUP(IFERROR(LEFT(A2,FIND("/",A2)-1),A2),$A$2:$A$5,$B$2:$B$5,"")&"?to= "&XLOOKUP(IFERROR(RIGHT(A2,LEN(A2)-FIND("/",A2)), A2),$A$2:$A$5,$B$2:$B$5,""),CONCATENATE("mailto:",B2))

paulinka_6-1688486169368.png

 

In PowerBI, change the column category to Web URL and activte visual (VISUAL --> URL icon --> ON

parry2k
Super User
Super User

@yosemite it all depends on the mail to address if you add multiple email addresses with a comma (,) it should work.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Hello @parry2k - Thanks for the reply.

 

Is there a way I can send a group email to all the users listed in a filtered column with a single click in Power BI?

 

Column1: Email

Column2: EmailLink -- EmailLink = CONCATENATE("mailto:",Table[Email])

@yosemite hmmm, not exactly, but you can use concatenatex function to create a single email for all the filtered records and drop that in the matrix visual and then click that to send the email

 

Email All = 
"mailto:"  & 
CONCATENATE( VALUES ( Table[Email] ), Table[Email], "," )

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

@parry2k Hello there - I was able to fix the code. Thank you for showing me the way.

 

When you get a chance, could you check the updated GroupEmail.pbix and see why even though the link is there, it won't open as an email.

 

 

 

@pdbenbow Hello there, I saw your SOLVED post. That was helpful.

 

I'm having the same issue and wondering how yours worked. Here's my PBIX.

@parry2k I'm getting an error; see PBIX below.

 

GroupEmail.pbix 

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.