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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter date by slider
Power Apps
Unanswered

Filter date by slider

(0) ShareShare
ReportReport
Posted on by 184

i have inserted Label in Gallery as Name: Aging and in text properties i added below code :

If(ThisItem.Status.Value<>"Completed",DateDiff(ThisItem.'Received Date',Today(),Days))  and results showing no of days : 5,6,10,12..etc

 

now i want to add slider outside of screen ,by dragging it i need to filter gallery by days of the task 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,051 Most Valuable Professional on at

    Hi @Ungarala1 ,

    Something like this

    Filter(
     GalleryDataSource,
     'Received Date'>=
     DateAdd(
     Today(), 
     -Slider1.Value,
     Days
     )
    ) 

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Ungarala1 Profile Picture
    184 on at

    showing invalid arguments, expecting date time value instead in gallery Item:

     

    SortByColumns(
    Filter(
    'Tracker',
    'Assigned Designer'.Email = User().Email,

    'Task Type'.Value=vartask||IsBlank(vartask)||vartask="All",

    'Received Date'>=DateDiff(Today(),Slider3.Value,Days)
    ),
    "ID",
    Descending
    )

     

     

     

  • WarrenBelz Profile Picture
    153,051 Most Valuable Professional on at

    @Ungarala1 ,

    Free-typing code in Notepad . . . corrected in post as well

    SortByColumns(
     Filter(
     'Tracker',
     'Assigned Designer'.Email = User().Email &&
     (
     (IsBlank(vartask) || vartask="All") ||
     'Task Type'.Value=vartask
     ) &&
     'Received Date'>=DateAdd(
     Today(),
     -Slider3.Value,
     Days
     )
     ),
     "ID",
     Descending
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Ungarala1 Profile Picture
    184 on at

    i need to add any thing in slider min & max value

  • WarrenBelz Profile Picture
    153,051 Most Valuable Professional on at

    @Ungarala1 ,

    That is up to you.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard