Guests, reservations, trips: connect list into a booking system

allyazz 131 Reputation points
2021-01-18T13:05:38.383+00:00

Hey everyone,

I'm facing a situation I hope someone can help me with. I'm not IT professional but a self-taught power user with an admin account and a little bit of knowledge about lists, poweraps and powerautomate.

I'm trying to make a simple booking system with the following lists:

  • guests (person columns)
  • reservations (hold multiple guests)
  • trips (hold multiple reservations with guests)

The biggest issue are the reservation numbers, because they need to:

1) be assigned automatically for each new reservation (i would do this with powerautomate flow)
2) different for separate reservations, but singular for guests, that are on the same reservation

The hierarchy is obvious. What I'm struggling to figure out is if this is possible to configure in the lists app only through some sort of juiced up lookup column, not in the PowerApp canvas app?

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

Accepted answer
  1. allyazz 131 Reputation points
    2021-01-19T10:56:58.82+00:00

    Hi @Jerry Xu-MSFT ,
    thank you for your feedback! I'm sorry for not being clear on my question, I have read it again and it is indeed unclear. By reservation number I meant the “reservation ID”, a unique identification for each reservation.

    What I'm trying to achieve is to effectively have a list of all of our guests with columns for personal information about the guests. The whole process would ideally look something like this:

    1. start a new reservation, reservation ID is generated
    2. Select a trip from the lookup column
    3. Enter (multiple) guests and their information into the guests list. Each guest from this batch has the same reservation ID, as they are a group and have the same trip.
      But the more I’m looking at what I’m writing the more it is becoming clear this can not be achieved in the lists app, but in the powerapp. Do you see any other option?

2 additional answers

Sort by: Most helpful
  1. Jerry Xu-MSFT 7,961 Reputation points
    2021-01-19T03:08:32.92+00:00

    Hi, @allyazz ,

    As I am not quite sure about your meaning of the below part, it will be helpful to provide more detailed expressions about it.

    different for separate reservations, but singular for guests, that are on the same reservation

    I add a demo about what we can do easily with lists and Power Automate. You can check if it is enough for your task. I assume the reservation number means the total count of all reservations. Please correct me if this is not what you expect.

    57991-image.png

    Note: If you want to analyze the total guest number for a certain trip, there is one thing I need to mention. Like the example I provide in the picture. A appears in both reservations for Okinawa. This is a situation we would better avoid. It is will bring troubles trying to clean the duplicates in Power Automate.

    For how to get items with a query, please check the following thread and blog:

    https://diyd365.com/2019/11/20/every-power-automate-ms-flow-filter-query-you-ever-wanted-to-know-as-a-functional-consultant/
    https://powerusers.microsoft.com/t5/General-Power-Automate/Are-there-example-of-quot-Filter-Query-quot-of-SharePoint/td-p/30641

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. allyazz 131 Reputation points
    2021-01-20T14:58:55.047+00:00

    @Jerry Xu-MSFT

    Jerry hi, thank you again for your replies! If I understand you correctly you would do a button on the reservation list which would say ADD GUEST, and after clicking on it a flow would take the reservation ID, create a new item on the guest list and paste the reservation ID in a column of the guest list? This could work but it's quite inconvenient as the user would need to o back and forth between two lists. I did some further research and believe will attempt to do this via PowerApp anyway, perhaps I'll even try to do a model driven app.

    Thank you for your help, it is much appreciated anyway! I will mark your previous reply as a solution because it is indeed a good idea.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.