Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 6aJsG7VAWkmI3wjFx7rgrQ
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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

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

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 298 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 174

#3
stampcoin Profile Picture

stampcoin 138

Overall leaderboard
Loading started