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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / List Rows - Filter Row...
Power Automate
Answered

List Rows - Filter Rows Error

(0) ShareShare
ReportReport
Posted on by 219

Hello,

 

I have a Dataverse table which contains some records, I'm trying to create a Flow which will delete records that have the "Audit Status" equal to "Draft" and the "Created On" date less than todays date. So I'm first starting off with a flow to get the ID of the rows that needs to be deleted using the "List Rows" functionality. But when i test what I have in there to list the rows, its failing and giving me this error message:

 

 

 

 

A binary operator with incompatible types was detected. Found operand types 'Edm.Int32' and 'Edm.String' for operator kind 'Equal'.

 

 

 

Below is what i have within the flow:

flow.PNG

the audit status field is a Choice field with only 2 values (0 = Draft, 1 = Completed).

 

This is the first time I'm using "Filter Rows" so no doubt I've done something wrong. If someone could help assist/guide me that would be much appreciated. Thank you in advance 🙂

Categories:
I have the same question (0)
  • Verified answer
    shoog Profile Picture
    2,164 on at

    You would have to use the ID (numeric) of the choice value rather than the description, so something like:

    cda_auditstatus eq 0

    if the ID for draft is 0.

  • abouchaalaBAIT Profile Picture
    932 Moderator on at

    assuming Audit Status Darft value in Dataverse choice field settings is 0 

    abouchaalaBAIT_0-1707844843206.png

    your filter should look like this 

    abouchaalaBAIT_1-1707844899605.png

     

    createdon lt @{utcnow()} and cr8f5_auditstatus eq 0

     ----------------------------------------------------------
    If I have answered your question, please mark your post as Solved. 🆗✔️
    If you like my response, please give it a Thumbs Up. 👍
    You can accept more than one post as a solution.

  • CCEP_Mike Profile Picture
    219 on at

    Thank you both for your response, I've now got this working as expected. thank you 🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard