cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (10,016)