cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Praveenpk365
Frequent Visitor

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
v-yamao-msft
Community Support
Community Support

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
v-yamao-msft
Community Support
Community Support

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

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

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,358)