cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Praveenpk365
Level: Powered On

Issue in Grouping with Dynamics CRM data

Hi Guys,

 

I'm pulling data (Quotes) from D365 and trying to group a particular field (owner) using Union operation but, I'm always getting NULL in Output.

Below is my expression,

union(variables('Unique_Names'),createArray(item()?['quotes']?['_ownerid_value']))
I'm note sure what I am missing here. Can you guys please help me out?
Attached screenshots for reference.
Thanks!
 
Screen 3.png
Thanks!
Screen 1.pngScreen 2.png
 
O/P:
Screen 3.png
 
 
Here is my full configuration,
 
Full Screen 1.png
Full Screen 2.png
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Issue in Grouping with Dynamics CRM data

Hi @Praveenpk365 ,

 

Pease take a try with the following function used in Compose action:

union(variables('Test'),createArray(items('Apply_to_each')?['_ownerid_value']))

I have set up the flow likes below for your reference:

1.PNG

 

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
Community Support Team
Community Support Team

Re: Issue in Grouping with Dynamics CRM data

Hi @Praveenpk365 ,

 

Pease take a try with the following function used in Compose action:

union(variables('Test'),createArray(items('Apply_to_each')?['_ownerid_value']))

I have set up the flow likes below for your reference:

1.PNG

 

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

Praveenpk365
Level: Powered On

Re: Issue in Grouping with Dynamics CRM data

@v-yamao-msft  - Thank you so much! ..It worked.

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users online (4,454)