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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
pbidani
Regular Visitor

Power Automate - read excel file off sharepoint

Hello, 

I am new to PowerAutomate and have spent a good amount of time trying to figure out a flow - but not able to resolve 3 errors -- 

 

Overview - flow reads an excel file from sharepoint; file has name and birthday; if birthday is in the next 7 days, it should send me an email with a list of birthdays in the next 7 days.  need a line break for each upcoming birthday.

 

Issues 

1) Not able to read date as a date

2) No line break between rows of birthday in the email

3) Not able to compare

 

pbidani_0-1735317352004.png

 

pbidani_1-1735317392542.png

I will greatly appreciate your suggestions!

Thanks and Happy Holidays!!

Pav

 

 

1 ACCEPTED SOLUTION

if you want a guaranteed space use    .  You could also consider using "Create HTML Table"  if that is an acceptable output format.

View solution in original post

5 REPLIES 5
lbendlin
Super User
Super User

Please ask at the Power Automate forum. Microsoft Power Platform Community Forum Thread

 

1. Use UTC and ISO-8601 format - always!

2. use HTML <br>

3. compare what with what?

Thank you Ibendlin!  Much appreciated.

using the utc and iso date format, the date comparisons worked fine.  

I got an email with the 2 correct records.  

Line break is also working great.

How do i create a space between the fields in an output row? 

pbidani_1-1735400749060.png

Thanks Again!!

Pav

if you want a guaranteed space use &nbsp;  .  You could also consider using "Create HTML Table"  if that is an acceptable output format.

Excellent!

That works!  Thanks! 

My compare is currently on the full date - how do i modify it so it is on the day and month only.  Goal is to send email showing birthdays in the next 7 days --- 

pbidani_0-1735402943644.png

 

Also, how do i show a cleaner date in the email?

pbidani_1-1735403022513.png

Source data is below

pbidani_2-1735403085943.png

 

Thanks again!

Happy Holidays and Best Wishes for the New Year!

 

Read about convertFromUtc()  - especially the format option. Also read about addDays()

 

Expression and functions - Azure Data Factory & Azure Synapse | Microsoft Learn

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.