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

unique items from Sharepoint list

So, I've tried and tried all day.  I can't figure it out.

 

I have 1 sharepoint list.  It handles the Daily sheets my guys turn in.

We log by JobNumber.  So, this list has a column, JobNumber, where the same number can be repeated multiple time.
I only need it once.

Can someone point me in a direction.

I'm sure I'm going a Union Statement and Some Arrays....but could someone draw it out for me?  I'd be grateful.  Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: unique items from Sharepoint list

 

Hi @EcklerAdmin ,

 

Please refer to the following method to configure Flow.

110.PNG

Details in apply to each:

111.PNG

Expression reference:

union(variables('Number'),variables('Number'))

Please take a try.

 

Best Regards,

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

5 REPLIES 5
Super User
Super User

Re: unique items from Sharepoint list

Hi @EcklerAdmin 

 

You can use Get items and specify the Filter Query and set the Top Count as 1. This will return only 1 record if there are more than one items.

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



EcklerAdmin
Level: Powered On

Re: unique items from Sharepoint list

I'm sorry I didn't make myself clear...I will try again.

I have a column.

 

1

1

1

2

2

3

3

 

I need a result of 1,2,3

 

EcklerAdmin
Level: Powered On

Re: unique items from Sharepoint list

Untitled.png

That's what i have so far, I get nothing.  😞  

Super User
Super User

Re: unique items from Sharepoint list

Hi,

 

Move the 2 actions you have outside of the loop (below it)

 

Use add to array variable action and insert your JobNumbers field from the SharePoint Loop.

 

Now your array contains all the duplicate values, then your other actions clean it up.

Community Support Team
Community Support Team

Re: unique items from Sharepoint list

 

Hi @EcklerAdmin ,

 

Please refer to the following method to configure Flow.

110.PNG

Details in apply to each:

111.PNG

Expression reference:

union(variables('Number'),variables('Number'))

Please take a try.

 

Best Regards,

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

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 Solution Authors
Top Kudoed Authors
Users online (5,245)