Cast your vote for the official 2025 Inspire Pin! Designs were submitted by fellow Community members and reflect the creativity and passion of Alteryx users across the globe. Vote now!
Free Trial

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 #106: How Long were the Lights On?

Tom_Pilgrem
Astéroïde

Long winded solution compared to others - but it makes sense to me! 


@JoeM
Révélation
Was ok once I figured out the generate rows tool. Useful tool to know of - that's why I do the challenges! 

Generate rows to produce one row for each minute for each room and then group by room and count distinct individual minutes. 

There must be a better way to convert the time string into a date/time function. But I was confused by the one tool solutions people were doing. 




justin_winter
Astéroïde

Pretty straight-forward. Could have done it with 2 tools, but it would have been really ugly in the multi-row tool! Instead cleaned up dates first then calculated.

 

 

Spoiler:

 

 

 

 

 

 

 

JAW Solution.png

kelly_gilbert
Pulsar
Révélation
It looks like the two popular solutions used either generate rows or multi-row...  I chose the multi-row option.
Capture.PNG
dominiklz
Astéroïde
Révélation
Capture.PNG

another one of those challenges where you really gotta sit back and think for a moment, had the idea with generate rows rightaway but then tried beating it to death with convoluted multi-row formulas, even though it could have been so easy...

mascarenhas_lucas
Astéroïde

I'm not happy with my solution, I think it might have a better way to solve this problem!

 

Révélation
challenge_106.PNG
daniel_ferreira
Astéroïde

Follow my solution file attached...

ponraj
Pulsar
 
kennydso
Atome

image.png

petgrap
Astéroïde
 
ivoller
Quasar

I was making it more difficult than necessary. Then I saw the light!