Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #206: Hotel Reservations

AMansour
11 - Bolide

Hi

 

Here's my solution

 

Spoiler
Capture d’écran 2020-04-23 à 21.55.19.png

Cheers

Amr 

JeremyGonzva
8 - Asteroid

.

LiD
8 - Asteroid

Although the results may be reproduced, there are 3 tiny ambiguities or at least hidden assumptions.

1. It is mentioned that the duration of stay shall be greater or equal to 1 days. Instead of providing the check-out date, the reservation-status date is used. But sure, if the reservation status is changed to "check-out", the date is the check-out date. Still, this may be made more clear.

2. The reservation status contain three different states, "checked-out", "canceled" and "no show". For the "no show" reservation, the status date seem to be the same as arrival date which thus will be filtered out by setting stay duration >= 0. Still, it may be better to set status filter for "checked-out".

3. The reservations are counted by month name where records of three years have been included. This may make sense, if seasonal average shall be calculated. Still, more precise requirements may be more transparent. 

Spoiler
LiD_0-1587910040747.png

 

hanykowska
11 - Bolide

Nice one

 

Spoiler
image.png
JunePark
8 - Asteroid
Spoiler
JunePark_0-1588412369714.png

 

balajilolla
8 - Asteroid
Spoiler
Solution attached

balajilolla_0-1588513973098.png

 

jarrod
ACE Emeritus
ACE Emeritus

nice, quick, helpful

Spoiler
jarrod_0-1588961053691.png

 

#SnakingMyWayThruChallenges

black28
7 - Meteor
Spoiler
Solution
PaulTa
Alteryx Alumni (Retired)

A bit of a struggle with the Date manipulation but got there in the end, great challenge!

Paul T.

jiteshthegenius
7 - Meteor

Spoiler