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 / The field 'Datenr' of ...
Power Automate
Unanswered

The field 'Datenr' of type 'Calculated' cannot be used in the query filter expression.

(0) ShareShare
ReportReport
Posted on by 61

Hi,

 

im wondering if someone could asist i have created a SP list and have a calculated column (Datenr) which will add days depending on the type selected :

=IF(OR([Document Type]="Policy",[Document Type]="Procedure",[Document Type]="Rail Form",[Document Type]="Rail Procedure",[Document Type]="Manual",[Document Type]="Objective"),[Date of Review]+365,[Date of Review]+730)

 

this all works great , but i wanted to create a workflow that would then notify the owner of the document that they had upcoming reviews in the next 30 days , 

 

so in the get items if tried a Filter Query using : (the reformat outputs are because i had to mess around with the date formats as it wouldn't run properly at all )

 

(Datenr ge '@{outputs('Reformat2')}' and Datenr le '@{outputs('Reformat')}')

 

but the flow always fails with :

The field 'Datenr' of type 'Calculated' cannot be used in the query filter expression.

 

i thought about a filter array but it only allows one option so cant add the and part above ?

 

any help or pointers would be great 

 

thanks 

 

paddi

  • AS-06081019-0 Profile Picture
    1,738 Super User 2024 Season 1 on at

    @Paddi  assign it to a variable and try using it in filter query

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
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard