web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps
Answered

Filters

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello Everyone,

having an issue in filtering my gallery by 2 date picker,it was working correctly but after applying  24-hour to 12-hour conversion it filters the data but not as required.

 

 

when i select 13th in both datepicker it show no data.

formula used for filter:

gallery.item Filter('Training Request',Name.DisplayName=MyUser ,(PlanDate>=start_Date.SelectedDate)&&(PlanDate<=End_Date.SelectedDate))

saqibsaleem_0-1594725330866.png

 

For conversion followed https://powerusers.microsoft.com/t5/Building-Power-Apps/DatePicker-AM-PM/td-p/42766 this link

Data Source : Share point List

App: Canvas App

 

Best Regards,

Capture powerapp.PNG
Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,925 on at

    Try this workaround:

    If(End_Date.SelectedDate= start_Date.SelectedDate,
    Filter('Training Request',Name.DisplayName=MyUser ,PlanDate>=start_Date.SelectedDate),

    Filter('Training Request',Name.DisplayName=MyUser ,(PlanDate>=start_Date.SelectedDate)&&

    (PlanDate<=End_Date.SelectedDate)))

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard