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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,870)