alteryx Community

# 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.

## Challenge #196: Determine Profit Margin

Alteryx

A solution to last week's challenge has been posted here

This week's challenge comes to you from ACE @Treyson - Thank you for your contribution!

Determine the profit margin for your company based on the number of quarters they have been a customer of yours. Read the directions carefully and use the hints as needed.

8 - Asteroid

Solved!

Spoiler
16 - Nebula

Really nice challenge.

Spoiler
8 - Asteroid
Spoiler
Attached is my solution

Spoiler
11 - Bolide

Hi! Here my solution 🙂

Happy New Year!!

Spoiler
11 - Bolide

That was a fun challenge, @Treyson - I never thought about quarters that way!

My solution:

Spoiler
I struggled a bit to come up with a good way to get the Quarters number, but ended up using datetimediff and converting it to quarters.  I think it would have had to have been a lot more complicated if the dates weren't all the first day of the quarter.

12 - Quasar

Spoiler
Alteryx Alumni (Retired)

Here's my solution. Nothing fancy.

8 - Asteroid

8 - Asteroid

My solution.

Spoiler