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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
kadekwijaya
Regular Visitor

Add an email link with subject, body and cc'd autofilled

Hi,

 

I have a table with a list of ID's. I would like an email icon to the right of each ID that will create an email with the same address and subject but the body to have the specific ID and a specific person cc'd depending on the ID.

 

Thanks!

3 REPLIES 3
kadekwijaya
Regular Visitor

Thank you so much! 

 

How would I edit the formula to have the main body look like this:

 

Dear ____

 

Please review "ID"

 

Thanks, 

______

 

Thank you!

Sahir_Maharaj
Super User
Super User

Hello @kadekwijaya,

 

You can leverage the 'mailto' protocol combined with DAX to create a custom column. Assuming you have a table IDs that looks like this:

| ID   | CC_Email            |
|------|---------------------|
| ID1  | person1@example.com |
| ID2  | person2@example.com |
| ...  | ...                 |

This formula will create the 'mailto' link for each ID:

Email Link = 
"mailto:recipient@example.com" & 
"?subject=Issue with " & IDs[ID] & 
"&body=Please check " & IDs[ID] & 
"&cc=" & IDs[CC_Email]

Should you require any further assistance, please do not hesitate to reach out to me.


Did I answer your question? Mark my post as a solution, this will help others!

If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂

Kind Regards,
Sahir Maharaj
Data Scientist | Data Engineer | Data Analyst | AI Engineer
P.S. Want me to build your Power BI solution? (Yes, its FREE!)
➤ Lets connect on LinkedIn: Join my network of 15K+ professionals
➤ Join my free newsletter: Data Driven: From 0 to 100
➤ Website: https://sahirmaharaj.com
➤ About: https://sahirmaharaj.com/about.html
➤ Email: sahir@sahirmaharaj.com
➤ Want me to build your Power BI solution? Lets chat about how I can assist!
➤ Join my Medium community of 30K readers! Sharing my knowledge about data science and artificial intelligence
➤ Explore my latest project (350K+ views): Wordlit.net
➤ 100+ FREE Power BI Themes: Download Now
LinkedIn Top Voice in Artificial Intelligence, Data Science and Machine Learning

Does anyone know how to succesfully embed a link to a specific record in Dynamics in the email body?

 

The link contains several "&" characters and it seems that the email body does not really respond to that very well. 

 

Even just trying to add the character "&" as text to the body (or to the cc or bcc field for that matter) is not working for me.

Perhaps using the ALT 38 code is a work around? 

 

Hope someone figured this one out for me already 🙂 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.