web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : EQ8VEPqBm3GhqEwtZSbRAj
Power Automate - Using Connectors
Unanswered

In a cast was not an entity type issue with date

Like (0) ShareShare
ReportReport
Posted on 30 May 2022 11:45:41 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
    10 on 31 May 2022 at 09:05:59
    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
    10,166 Super User 2025 Season 2 on 30 May 2022 at 12:45:21
    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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Loading complete