cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Count function depending on galery item

Hi everyone!

 

My app is linked to a SharePoint list.

I have a gallery which show registration plates (see attached file) and I want to put a label which shows the number of values of a colum that meet these requirements:

1. The registration number is the same that appears in the gallery

2. The value is blank

 

I've tried the folowing:

CountIf(MySharePointList, Registration=ThisItem.Registration && Colum1=Blank())

 

The condition for the 1st requirement does not work. Can someone help me with this?

 

Thank You!

Masoud9

1 ACCEPTED SOLUTION

Accepted Solutions
shailendra74
Level 10

Re: Count function depending on galery item

Hi @Anonymous 

 

Try below 

 

Set(totalCount, CountRows(Filter(MySharePointList, filtercriteria))

 

totalCount gives the count based on the filter criteria.

 

Hope this helps.

 

Thanks.

View solution in original post

2 REPLIES 2
shailendra74
Level 10

Re: Count function depending on galery item

Hi @Anonymous 

 

Try below 

 

Set(totalCount, CountRows(Filter(MySharePointList, filtercriteria))

 

totalCount gives the count based on the filter criteria.

 

Hope this helps.

 

Thanks.

View solution in original post

Anonymous
Not applicable

Re: Count function depending on galery item

Many Thanks! @shailendra74 

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
Users Online
Currently online: 397 members 6,781 guests
Please welcome our newest community members: