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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
aboynamedsue
Regular Visitor

Need guidance on Excel, Power Bi, Automation and Sending email

I am more familiar with Power Automate than Power Bi. I have done a couple of project using Power Bi. I am sure I have no concept of its full capabilities. Here is my situation...

I utitilize a large Excel doc which i have to create relationships to get the data to talk to each sheet. What I have been asked to do is create an email to the client when their case goes from Open to Closed. It is a questionnaire to ask about their service. It already has rows into the thousands. I used this forum entry: How do I send a custom email to each email in a column. It has me on the right track. What I do not want to happen is an individual gets a duplicate email each time the flow is ran. I am unable to delete the data. What I was thinking about is if once the case is closed, an email is sent and the row with the information is moved to another sheet or something of which could be distingiushed after the initial run. 

 

Any suggestions?

3 REPLIES 3
jaideepnema
Solution Sage
Solution Sage

Hi @aboynamedsue ,
In order to make it work there are certain points:

  • Your Dataset should reside on Office 365(Excel Online).
  • You have to add a Flag(Y/N) which denotes whether the closure email has been sent to the user after the case got closed.
  • And the flow whenever triggered should update this Flag to Y whenever the email is sent.
  • At last the report dataset should be refreshed.

 

So just to recreate your scenario i have used the following dataset:

Table containing the case information.

jaideepnema_0-1642139516538.png

 

Table containing member information

jaideepnema_1-1642139576280.png

 

These two tables are joined basis member id.

 

Now create a flow like this:

jaideepnema_2-1642140858540.png

jaideepnema_3-1642140908115.png

 

When you will trigger this flow you will get an email like this:

jaideepnema_4-1642140987987.png

 

Hope this helps !!

 

Please accept this as a solution if your question has been answered !!

Appreciate a Kudos 😀

Connect with me on LinkedIn: https://www.linkedin.com/in/jaideepnema/

 

I can't seem to get the flow to run. 

aboynamedsue_0-1642698341122.png

I have the Power Bi Pro version and have been using Power Bi Desktop. 

AlexisOlson
Super User
Super User

How about adding a 0/1 column that you check before sending an email?

 

Initialize the column to all 0 but whenever you send an email, update it to 1. Set a rule in your automation that only rows with 0 get sent.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors