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 Platform Community / Forums / Power Apps / Navigating from select...
Power Apps
Unanswered

Navigating from selected Calendar date to specific page depending on the selected date (NOT USING SHAREPOINT)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi!

I am trying to create a booking app function where the user selects a date from a calender (not the template calendar screen, i have created from scratch) and once they have clicked on the date it navigates them to a specific screen which displays all the bookings for that sepcific date. 
A filter function could possibly be used in some way? 
calendar screencalendar screenscreen i would like to navigate to but it must be specific to the date selectedscreen i would like to navigate to but it must be specific to the date selected

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Assuming that the date selected from the calendar control is stored in a variable (lets say, SelectedDate). Now to filter the results on the second screen, you can use Filter as below expression:

    Filter(DataSourceName, 'Date of List' = SelectedDate)

    Here, DataSourceName refers to the name of the Data Source used. 'Date of List' is the column, that is storing the date we want to match. This will work if both the 'Date of List' and SelectedDate are in date type formats. If this differs you can use Text() or DateValue() functions to modify them to specific formats.
    For more info, please refer:
    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-text
    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-datevalue-timevalue

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    powerapps.png

    Thanks for your help! The formula seems to be okay except the 'invalid argument type' shown in the screenshot above. Is there any way of overcoming this error? It does not give much information on it. @yashag2255

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    You need to refer to the value here rather than referring to the control itself. If you are referring to a variable then its value needs to be passed. If this control text has the value exactly in the same format as the attribute, then you can modify your expression as:


    Filter(DataSourceName, 'Date of List' = 'Choosen Date Display'.Text)

     

    If the formats differ, please share more details about how you are getting the selected date, i want to know the result that is used in the app. Also, share the formula on the control 'Choosen Date Display' Text property.

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @yashag2255  thanks for your response! 

     

    the user selects the date from the calendar, this is then the 'chosen date' which is displayed using the formula above 'the user selects the date from the calendar, this is then the 'chosen date' which is displayed using the formula above 'the date is then displayed on the next screen using the formula abovethe date is then displayed on the next screen using the formula above

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Can you try to modify your expression to:
    Filter(DataSourceName, 'Date of List' = _selectionStart)
     
    Hope this helps!
     
    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 883

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 477

Last 30 days Overall leaderboard