Probably you would want to change the prices for a room on specific days at another place in you app. So you get:
- A list off Rooms
- A list off Prices (with columns: Room, Day, Prices)
Both will be collected/connected to a other table in your datasource.
So you will add a combobox to pick a specific room, two calender controls to pick the date and a button to run the collections. Formula becauses slightly different like:
Clear(PriceCollection);
ForAll(
Filter(DurationDays,Value<=DateDiff(DatePicker1.SelectedDate,DatePicker2.SelectedDate)),
Collect(PriceCollection,LookUp(PricesList, DayNo = Weekday(DateAdd(DatePicker1.SelectedDate,Value-1,Days),StartOfWeek.Monday) && Room = ComboBox1.Selected.Value, Prices))
)
Like in this pictures:


Here the formula's for creating the dummy data:
ClearCollect(Rooms,"Room 1", "Room 2")
ClearCollect(PricesList,
{Room:"Room 1", DayNo:1,Prices:100},
{Room:"Room 1", DayNo:2,Prices:100},
{Room:"Room 1", DayNo:3,Prices:100},
{Room:"Room 1", DayNo:4,Prices:120},
{Room:"Room 1", DayNo:5,Prices:100},
{Room:"Room 1", DayNo:6,Prices:150},
{Room:"Room 1", DayNo:7,Prices:150},
{Room:"Room 2", DayNo:1,Prices:80},
{Room:"Room 2", DayNo:2,Prices:80},
{Room:"Room 2", DayNo:3,Prices:80},
{Room:"Room 2", DayNo:4,Prices:80},
{Room:"Room 2", DayNo:5,Prices:80},
{Room:"Room 2", DayNo:6,Prices:95},
{Room:"Room 2", DayNo:7,Prices:95}
)Hope this helps.