Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

In a cast was not an entity type issue with date

(0) ShareShare
ReportReport
Posted on by 10

Hello,

 

I have an issue with my flow, I am trying to get all the data that the date is equal to today and I am using the below method, but when I run my flow this error shows up (The child type 'date' in a cast was not an entity type. Casts can only be performed on entity types. inner exception: The child type 'date' in a cast was not an entity type).

 

although my date format is the same in the flow and my excel sheet (yyyy-MM-dd).

 

Capture.PNG

 

 

  • Regash Profile Picture
    Regash 10 on at
    Re: In a cast was not an entity type issue with date

    Thanks for your reply, I have tried your way but it is still the same error 

  • RobElliott Profile Picture
    RobElliott 10,008 on at
    Re: In a cast was not an entity type issue with date

    @Regash  you need to put your expression inside single quotes, and make sure you select ISO 8601 for the DateTimeFormat field otherwise it uses Excel's native dates which are stored as integers.

     

    iso8601.png

     

    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics