Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start 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 #457: Profit and Loss Statement

lisahitch95
8 - Asteroid
Spoiler
 
Screenshot 2025-01-09 145312.png

 

SamBreen
8 - Asteroid

My first run, the months were not in the correct order, but a simple work around fixed that :)

 

Spoiler
457.JPG

Erin
11 - Bolide

Completed suggested match and added an additional flow to output report by year.

Spoiler
457.jpg
JBevan89
8 - Asteroid

I think the answer is incorrect and hence everyone got it wrong 🙄 because the answer seems to include all years, whereas the question says 2024.

 

For brownie points, I have added a Profit row you will see🍰

MOHAMED ISMAIL
7 - Meteor

My quick win 

Spainey
9 - Comet

A nice easy one :)

Spoiler
Had to change some data types as the keys were imported as Double type. Then I joined by Account Key to bring in the Report Class and Account names. 
I pulled the Month name from the Date field using the DateTimeFormat() function and the "%B" format. I aggregated the Amount by Month and Class, and then used a Cross Tab tool to transform the data - before using a Select tool to set the column order. 

Community Challenge 457 Solution.png

 

lucascmdias
5 - Atom

Here

ahsanaali
11 - Bolide
Spoiler
457.png

Tosca
Alteryx
Alteryx

A couple notes for this challenge:

 

The directions indicate to make a report of 2024 data. However the file contained multiple years and the provided Output solution did not filter the dates.

 

I've seen some interesting/creative solutions to ordering the months. Mine seems simpler but: I just used a Select Tool to reorder the months by their calendar sequence rather than alphabetically. After the Cross Tab tool, Select will treat each month as an independent column, allowing custom "sort" order. Hope that might be of help to others!

 

Amy_smart
11 - Bolide

Here is my solution.