Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I'm working in a hotel and I need to distribut and sum the number of night on each Monty.
For example, a client stay since 28/12/2022 to 03/01/2023, (3 nights in december and 3 nights in January)
Now I can count the number of nights per Month, but I can't sum the total of nights for each Month.
Can you help me?
Solved! Go to Solution.
Hey there,
I guess your data table looks similar to this:
Guest | Arrival | Departure |
A | 27.12.2022 | 05.01.2023 |
B | 30.11.2022 | 01.12.2022 |
?
Then try:
Calendartable:
Crossjoin:
Best regards
Hello,
I'm having some problems when I wrote the querry:
I can't do it like you said.
Can you help me with the problem?
Please try to convert your check-in/check-out data in your reservas-data to date-type.
I have already done it but I can't execute the crossjoin.
Hey there,
I guess your data table looks similar to this:
Guest | Arrival | Departure |
A | 27.12.2022 | 05.01.2023 |
B | 30.11.2022 | 01.12.2022 |
?
Then try:
Calendartable:
Crossjoin:
Best regards