cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ahhollan
Helper V
Helper V

Countif issue - calculated field

I have a calculated field in a SharePoint list that calculates the number of days between an item submission date and the current date. it generates a number.  I'm trying to use countif in PowerApps to count all rows where the value is less than or equal to 5.  I keep getting the message that the formula is expecting a number. Here is my formula, CountIf('Alarm Tracking','Alarm Tracking'.'Days Old'<6), what am I doing wrong?

1 ACCEPTED SOLUTION

Accepted Solutions

Or try this: 

 

CountIf('Alarm Tracking',Value('Days Old')<6)

 

 

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
https://thepoweraddict.com

View solution in original post

3 REPLIES 3
mdevaney
Super User III
Super User III

 

deleted...

 

Or try this: 

 

CountIf('Alarm Tracking',Value('Days Old')<6)

 

 

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

Thanks!
Hardit Bhatia
https://thepoweraddict.com

View solution in original post

Glad I could help! Good luck with the rest of the app! Feel free to reach out in case of any questions!

Thanks!
Hardit Bhatia
https://thepoweraddict.com

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (45,351)