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 / ”Power Apps can’t conv...
Power Apps
Answered

”Power Apps can’t convert this Text to a Record”

(1) ShareShare
ReportReport
Posted on by 41

I’m building a booking/reservation system and I’ve been struggling with filtering two drop down controls using a date picker control.
Each drop down is connected to a separate SharePoint list and the ‘DatePicker’ control is ‘patching’ to a 3rd list that contains all of the bookings/reservations of the items in the other two lists.
I need to filter those drop down list items based on whether or not an item has already been created, to only show items that are 'available' on the [SelectedDate] value of the ‘DatePicker’ control.
Here’s what I’ve got so far but isn’t working due to the error below…

Filter(Desks,Not(‘Title’ in Filter(Desk_Booking,Reservation_Date = DatePicker.SelectedDate).Desk))

”Power Apps can’t convert this Text to a Record”.

That error is specific to the ‘Title’ value in the first Filter function.

'Title' refers to the title column in the ‘Desks’ list and .Desk refers to the use of that title column value (Lookup column type) in the main ‘Desk_Booking’ list. 'Reservation_Date' is the date column in the main Desk_Booking list that's patched by the submit button on completion.
I’ll need to repeat this logic for the 2nd of the two drop downs (identical in all but name) so that both selections are constrained by the available resources, for the selected date.


Can you see my mistake?
N03L.

Categories:
  • Verified answer
    cha_cha Profile Picture
    4,932 Moderator on at

    Hello @N03L 

     

    Filter(Desks,
     Not(Title in 
     ShowColumns(
     AddColumns(
     Filter(Desk_Booking,Reservation_Date = DatePicker.SelectedDate)
     ,"colTitle",Desk.Value
     ),
     "colTitle"
     )
     )
    )

     

    I hope you get the logic.

     

    Reply here if you didn't.


      ✔️
    Just in case my response helped you solve your problem, please mark/accept this as a SOLUTION This helps community members if they experience a similar issue in the future.

     

      🔗
    🕸bistek.space  🐦 @cha_bistek  📺 @BisTekSpace 
  • N03L Profile Picture
    41 on at

    Thanks for that Cha Cha.
    I can follow most of it but I had to search for the Show Columns function in order to understand why that had been included.
    Thank you so much for the help and the lesson. 🙂

    N03L.

  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello, I'm glad you could follow it 😊

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard