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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,071)