cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 112 members 3,091 guests
Please welcome our newest community members: