Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Aku337WHW+Q8qfh7XkqIUT
Power Apps - Building Power Apps
Answered

Count Yes/No Column Dataverse

Like (0) ShareShare
ReportReport
Posted on 26 Aug 2022 14:19:00 by

Hi everyone,

 

I have column in Dataverse which is a Yes/No Column regarding 'Photo required'. 

 

Now I would like to reference that in PowerApps with:

Filter('Vehicle Photo Templates', 'Vehicle Photo Templates'.'Photo required'.Yes) -> Not working

CountRows('Vehicle Photo Templates'.'Photo required') -> This only gives me total amount of rows

 

I would like it to give me back the total number of rows with choice 'Yes' and choice 'No'. 

Categories:
  • Community Power Platform Member Profile Picture
    on 29 Aug 2022 at 06:42:33
    Re: Count Yes/No Column Dataverse

    It worked, thanks!

  • Verified answer
    AhmedSalih Profile Picture
    6,678 Super User 2025 Season 1 on 26 Aug 2022 at 14:36:52
    Re: Count Yes/No Column Dataverse

    Hello, @Gnashy , You need to use your Choice Name:

     

    CountRows(Filter('Vehicle Photo Templates', 'Photo required'='Photo required'.Yes))

     

    CountRows(Filter('Vehicle Photo Templates', 'Photo required'='Photo required'.No))

     

    I am assuming that your Choice Object Name is Photo Required.

     

     

     

    Regards,

    Ahmed

    If my reply helped you, please give a 👍. And if it has solved your issue, please consider a 👍 & Accepting it as the Solution to help other members of the community find it more.

    My Blog: www.powerplatformplace.com

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
MS.Ragavendar Profile Picture

MS.Ragavendar 32

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 24 Super User 2025 Season 1

#3
WarrenBelz Profile Picture

WarrenBelz 18 Most Valuable Professional

Overall leaderboard
Loading started
Loading complete