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 : fGNtH4ctJSzZRVd5a9QEWw
Power Automate - Building Flows
Unanswered

Odata: filter a Get Items by month

Like (1) ShareShare
ReportReport
Posted on 1 Jul 2024 09:17:27 by 413

Hi there. 

 

I have a sharepoint List where I have a datetime field and a calculated column called "Month" which just give me the number of the relative Month, and the number of the month is a numeric input of my filter (means that anytime I need to run the flow, I need to change the number of the target month inside the filter).

 

I need a flow to delete some records with a specific value of "Month". 

I discovered that calculated rows are not a legit target for the OData Filter. 

 

Any ideas to help me? 

 

thanks!

I have the same question (0)
  • Calcioscacchi Profile Picture
    413 on 02 Jul 2024 at 12:00:49
    Re: Odata: filter a Get Items by month

    Yeah, I just filtered some data but this is the list:

    Calcioscacchi_0-1719921563807.png

     

    The logic of the automation is quite simple:

     

    -check all the rows with Mese = X (where I decide the value of X everytime, editing the automatio)

    -delete them.

  • v-yetonggu-msft Profile Picture
    on 02 Jul 2024 at 00:58:18
    Re: Odata: filter a Get Items by month

    Hi @Calcioscacchi ,

    What does your SharePoint list look like?

    Could you please provide a screenshot?

    Can you be specific about the requirements you want to achieve?

    I don't know if you want to delete the specified item based on the datetime column or the Month column.

     

    Best Regards,

    Sunshine Gu

  • Calcioscacchi Profile Picture
    413 on 01 Jul 2024 at 09:46:02
    Re: Odata: filter a Get Items by month

    Like this?

    Calcioscacchi_1-1719827211451.png

     

     

  • v-yetonggu-msft Profile Picture
    on 01 Jul 2024 at 09:40:34
    Re: Odata: filter a Get Items by month

    Hi @Calcioscacchi ,

    Could you please show me a screenshot of your current flow configuration parameters?

    Best Regards,

    Sunshine Gu

  • Calcioscacchi Profile Picture
    413 on 01 Jul 2024 at 09:38:13
    Re: Odata: filter a Get Items by month

    Yes.

     

    But in a previous step, I want to test that the flow takes the correct rows. I think that build a flow and delete items without testing the filters is a bit too risky.

  • v-yetonggu-msft Profile Picture
    on 01 Jul 2024 at 09:24:19
    Re: Odata: filter a Get Items by month

    Hi @Calcioscacchi ,

    What do you want to achieve? Do you want to delete data based on a special month in the date and time column?

     

    Best Regards,

    Sunshine Gu

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 798 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 469 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 333

Last 30 days Overall leaderboard
Loading complete