cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

ODATA Filters - samples for Dynamics 365

Hi I am a beginner and want to order my Dynamics 365 CE Opportunities by the Opportunity field: Status Label.

I have made a Flow for getting out all Closed opportuniteis and send them to me by email - so far so good

 

But how can I sort the closes opportunities by "Won" and "Lost"  - which are the values of the Status label

field is: _statecode_label

 

What is the ODATA orderBy-query I need?

Thanks in advance
Greetings from The Netherlands

Leo

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: ODATA Filters - samples for Dynamics 365

Hi @Inteleo ,

 

Do you want to specify Order by in Advanced options?

I have made the following test which will order them by the state code:

1.PNG

Please check the following link for more details:

https://docs.microsoft.com/en-us/flow/connection-dynamics365

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: ODATA Filters - samples for Dynamics 365

Hi @Inteleo ,

 

Do you want to specify Order by in Advanced options?

I have made the following test which will order them by the state code:

1.PNG

Please check the following link for more details:

https://docs.microsoft.com/en-us/flow/connection-dynamics365

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
New Member

Re: ODATA Filters - samples for Dynamics 365

Wow Mabel - Thanks!!! 

it's working

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (6,453)