Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Answered

Select date to display data

(0) ShareShare
ReportReport
Posted on by

hello everybody plz help me to : If I select a date, I must display all the data for that selected date.1.png

  • Ye1 Profile Picture
    5 on at
    Re: Select date to display data

    Unable to solve the issue. pls educate me thanks.

    Filter(Table3,Date=DatePicker1.SelectedDate)

    Error : incompatible type for comparison galary1 

  • Verified answer
    v-albai-msft Profile Picture
    on at
    Re: Select date to display data

    Hi @Mustapha_Ait123 ,         

    From your screenshot, I know that you are connecting to a SP list named “Bordereau”, but why you use “dataToExport” in your Lable2? Could you tell me what “dataToExport” is?

    You mentioned that you want to “display all the data”, do you want to display all the related list records based on a selected date? Or just want to return a specified column value of the records(for example, return the “Title” value of all records that match the selected date)?

    I assume you want to display all related records form SP list based on a selected date. The point is to use a gallery control/table control. The label control can only show data value, it cannot show record. I've made a test for your reference:

    1. My SP list named “Upload”, in this list, there is a “Date and time” column named “date”.
    2. Add a “Date picker” control named “Datepicker1”.
    3. Add a “Gallery” or a “Table” to display records(Choose one of these two controls depending on your needs).
    4. Set the Gallery’s Items property(Replace with your own list name and column name):

    Items= Filter(Upload,date=DatePicker1.SelectedDate) 

         5. (optional) Set the Table’s Items property(Replace with your own list name and column name):

    Items= Filter(Upload,date=DatePicker1.SelectedDate)

         6. Run the app to check the results.

    v-albai-msft_0-1610504646203.png

    You can see that in my SP list, only one record meets the selected date:

    v-albai-msft_1-1610504646205.png

    Best Regards,

    Allen

  • timl Profile Picture
    35,085 Super User 2025 Season 1 on at
    Re: Select date to display data

    Hi @Mustapha_Ait123 


    It sounds as though you want to filter and display the records in a table that match the value in your date picker control.

    The way to do this would be to add a gallery control to your screen, and to set the Items property to the return value of the Filter function.

    There are more details about this function in the documentation here:

    https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/functions/function-filter-lookup

     

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 the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 17

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics