Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Radio button - Filter dates


I have a Sharepoint list as a data source and Radio button inside Gallery2 (Gallery1.Selected).

I'm trying to Filter three dates inside Radio, so if 3 days left until Event Date 1, Event Date 2, Event Date 3 - they will hide:

        {EventDateTbl: ThisItem.'Event Date 1'},
        {EventDateTbl: ThisItem.'Event Date 2'},
        {EventDateTbl: ThisItem.'Event Date 3'}
    DateDiff(Today(), EventDateTbl) > 3)

2022-03-29 02_14_56-Window.png

It works fine with simple rows, but not with more complicated rows:

    {EventDateTbl: ThisItem.'Event Date 1' & Text(" - ") & ThisItem.'Event End Date 1'},
    {EventDateTbl: ThisItem.'Event Date 2' & Text(" - ") & ThisItem.'Event End Date 2'},
    {EventDateTbl: ThisItem.'Event Date 3' & Text(" - ") & ThisItem.'Event End Date 3'}
    DateDiff(Today(),EventDateTbl) > 3)

Here it will hide all dates, because DateDiff is comparing the whole row and not just ThisItem.'Event Date *'  (make sense).

What is the correct way to "Filter" to get a result below?

2022-03-29 02_31_49-Window.png

Thanks in advance!


Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,784)