cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
KickingApps
Level 8

Photo collection - Collect distinct for each series

Greetings,

 

I am collecting all photos from a SP library OnStart.  When initializing the collection, I add a column to split the name(s) of the photos.  

ClearCollect(
    colPhotos2,
    AddColumns(
        Photos2, "ddName", First(Split(Name, "-").Result
)))

So, if the name of a photo in the library is:

2018_US1-Montana-Glacier10

The added column in the collection will be:

2018_US1

 

Say I have 10 photos for 2018_US1-Montana-Glacier# and 9 for 2017_BC1_Banff and another 15 for 2018_JP1_Tokyo# -- how can I collect only the first photo for every series?  Too complicate matters and really put a challenge out there, I would ideally like to collect the first photo in every series that is landscape layout rather than portrait.  At this time, there is nothing in my SP library to identify a photo as landscape/portrait.image.png

1 REPLY 1
KickingApps
Level 8

Re: Photo collection - Collect distinct for each series

Looking for a solution still on this one.  I would like to collect the first photo for each 'series' within a group.

 

I

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,227)