cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
noamshn
Helper I
Helper I

CountRows and Filter function to count overdue dates

hello everyone,

I want to to make text label that will show me the number of data the is overdue. I used CountRows and Filter for this.

The problem is that I keep getting error for some reason and I think its because of the format of the date.

noamshn_0-1659639807740.png

noamshn_1-1659639839216.png

I would like to hear your suggestions.

Thank you in advace

 

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@noamshn 

Oh...Excel!  Sorry to hear that.

 

Change the 'Last Date' in the formula to: DateValue('Last Date')

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

5 REPLIES 5
RandyHayes
Super User
Super User

@noamshn 

What is the error you are getting, and what kind of column is 'Last Date' in your Data list?

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
noamshn
Helper I
Helper I

@RandyHayes 

The error is: Invalid argument type. Expecting one of the following: Number, Date, Time, DateTime.

 

how can I check what kind of column it is? It suppose to be Date column but I didnt define it to be like it, I just added this column in my excel file.

The error is: Invalid argument type. Expecting one of the following: Number, Date, Time, DateTime.

 

how can I check what kind of column it is? It suppose to be Date column but I didnt define it to be like it, I just added this column in my excel file.

RandyHayes
Super User
Super User

@noamshn 

Oh...Excel!  Sorry to hear that.

 

Change the 'Last Date' in the formula to: DateValue('Last Date')

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Thank you!!

it worked.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,110)