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 / UtcNow plus 1 day in L...
Power Automate
Answered

UtcNow plus 1 day in List Rows Dataverse action

(0) ShareShare
ReportReport
Posted on by 802

Hi there,

 

I am building a deskbooking app, and am working on a Virtual Agent to help with this. 

 

As part of the flow, I need to list Dataverse rows which meet certain criteria to ensure that there is no double booking. 

 

In the List Rows action, I am putting this as Filter rows (as an expression) to try to list only those where there is a reservation date of tomorrow. The column in Dataverse is "Date Only"

 

new_reservationdate eq 'formatDateTime(utcNow(), 'dd-mm-yyyy', 1)'

 

When I run this, however, I get this error message - Unable to process template language expressions in action 'List_rows' inputs at line '0' and column '0': 'The template language function 'formatDateTime' expects its third parameter to be of type string. The provided value is of type 'Integer'. Please see https://aka.ms/logicexpressions#formatdatetime for usage details.'.

 

What am I doing wrong?

 

Thanks

K.

 

Categories:
  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @Kosenurm,

     

    When you want to add 1 day you could use the adddays function. Try this instead:

     

    new_reservationdate eq '@{formatDateTime(addDays(utcNow(), 1), 'dd-MM-yyyy')}'

     

  • Kosenurm Profile Picture
    802 on at

    Thanks, when I tried this... I get this error

     

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

     

    Any ideas?

    Thanks

    K.

  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @Kosenurm,

     

    Can you share a screenshot of your list rows action configuration?

  • Kosenurm Profile Picture
    802 on at

    Capture.PNG

  • Verified answer
    Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @Kosenurm,

     

    Based on what I have found in this thread I would say to try the same filter rows value without quotes around the expression.

     

    Edit: I was able to reproduce that same error. I also had to update to the correct format (yyyy-MM-dd). In my dev environment this worked:

     

    new_bexdeskreservationdate eq @{formatDateTime(addDays(utcNow(), 1), 'yyyy-MM-dd')}

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard