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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get calendar view of e...
Power Automate
Unanswered

Get calendar view of events (V3) - Filter Query

(0) ShareShare
ReportReport
Posted on by 6

Hello together,

I am going to create a flow which collect all the event from my calendar and put it into an Excel BUT filter only for those events where the "Category" of the event is "orange".

Is it possible to filter for this information?

Without filter everything works fine, however, I was not able to add this filtering criteria.

Please advice!

Thanks,

Dóra

 

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @bakaidora,

     

    You could try a filter query like below. Be aware, the name of the category is case sensitive!

     

     

    categories/any(c:c+eq+'Orange category')

     

     

    getorangecategory_filterquery.png

  • bakaidora Profile Picture
    6 on at

    Dear @Expiscornovus 

    thanks for your help, this is the perfect solution for my issue. 🙂

    Have a nice day.

    Dóra

  • bakaidora Profile Picture
    6 on at

    Dear @Expiscornovus ,

    still a short question to topic, if I want to extend the workflow in the future.

    Is it possible to filter for 2 categories? Like for Orange and Blue one at the same time? If yes, do you have an idea how?

    Thanks in advance,

    Dóra

  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @bakaidora,

     

    I have had a look at the Filter Query, I haven't figured out a good query for that.


    However, you could also try and Filter Array action with the expression below:

    @and(contains(item()?['categories'], 'Blue category'), contains(item()?['categories'], 'Orange category'))

     

    twocategories.png

  • TomCKell Profile Picture
    13 on at

    Hi @Expiscornovus,

     

    Where did you find this info?

    Is there a source somewhere with the possible syntax for the odata filter on calendar?

     

    Kind Regards

    Tom

  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @TomCKell,

     

    OData is pretty common, that part I know from using it in other products. Have a look at the basics in for example Odata.org (Section 4.5 specific) https://www.odata.org/documentation/odata-version-2-0/uri-conventions/ 

     

    What works or not in this specific Power Automate action is based on experience and other threads of this forum.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard