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

Notifications

Announcements

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:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard