I have found a solution for my Valid if with the below code where my Bookings[Rooms] is a list of AllRooms[RoomID]. Although, I got this right how ever, this doesnโt reflect the Ref Collumn for the EnumList therefore it shows the yellow excliamation marks. I now want to remove the excliamation marks.
AllRooms[RoomID] - (SELECT(Bookings[Rooms],AND([_THISROW].[Checkin]<=[Checkin],[_THISROW].[Checkout]>[Checkin]))
please, help!
Solved! Go to Solution.
I finally fixed this by using Fillter() with IN() function the filter return keys of the room that in the list we want. Therefore
FILTER(โAllRoomsโ, IN([Key],
AllRooms[Key]-(SELECT(Bookings[Rooms],AND([_THISROW].[Checkin]<=[Checkin],[_THISROW].[Checkout]>[Checkin])))
I finally fixed this by using Fillter() with IN() function the filter return keys of the room that in the list we want. Therefore
FILTER(โAllRoomsโ, IN([Key],
AllRooms[Key]-(SELECT(Bookings[Rooms],AND([_THISROW].[Checkin]<=[Checkin],[_THISROW].[Checkout]>[Checkin])))
Thank you, Steve
User | Count |
---|---|
15 | |
14 | |
8 | |
7 | |
4 |