cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
apex_amit_7
Level: Powered On

Enable to match date of birth coming from sharepoint lookup field

Hi,

 

I'm enable to match the the date value coming from sharepoint lookup field with the current date.

 

Screenshot (87).png      

below is the formula I'm using in condition 2 
@equals(formatDateTime(item()?['Name_x003a_DOB']?['Value'], 'MM-dd'), formatDateTime(utcNow(), 'MM-dd'))

it always goes to false state if even after the data entered in sharepoint is right.
Kindly help.
2 REPLIES 2
Super User
Super User

Re: Enable to match date of birth coming from sharepoint lookup field

@apex_amit_7:

 

I don't see anything obvious wrong with your expression.  I suspect the issue might be with the actual value you are retrieving from SharePoint and/or how referencing it.

 

Can you post a screen shot of your entire flow?  This will assist in trying to find a resolution.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
apex_amit_7
Level: Powered On

Re: Enable to match date of birth coming from sharepoint lookup field

Hi Scott,

I found the solution of it, it was the date which is retrieving in ISO 8601 time format and when we check the MM-dd of current date with it, it goes to the false state.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 453 members 6,581 guests
Please welcome our newest community members: