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

Community site session details

Session Id : F7HIz8AM5Aex4mf0Y1mDhe
Power Apps - Building Power Apps
Unanswered

Filter date by slider

Like (0) ShareShare
ReportReport
Posted on 1 Oct 2021 05:34:16 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 

  • WarrenBelz Profile Picture
    148,896 Most Valuable Professional on 01 Oct 2021 at 08:59:51
    Re: Filter date by slider

    @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.

  • Ungarala1 Profile Picture
    184 on 01 Oct 2021 at 07:39:07
    Re: Filter date by slider

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

  • WarrenBelz Profile Picture
    148,896 Most Valuable Professional on 01 Oct 2021 at 07:15:18
    Re: Filter date by slider

    @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 01 Oct 2021 at 06:06:28
    Re: Filter date by slider

    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
    148,896 Most Valuable Professional on 01 Oct 2021 at 05:52:12
    Re: Filter date by slider

    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.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Loading complete