Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Transforming data

suds144
8 - Asteroid

Hi Everyone,

 

A quick question. How do you change the format of data in alteryx. For example my input is this:

suds144_0-1644260993945.png

 

I want each appointment and event attended (respectively) to count for "1" irrespective of the total. So even if a student has attended 5 events I want it to equate to "1" because we're interested understanding the number of students who attended an event/appointment - not how many they attended in total.

Therefore, I want my output to be this:

suds144_0-1644261404794.png

 


Please can you help? I think I have to use the formula tool.

 

8 REPLIES 8
atcodedog05
22 - Nova
22 - Nova

Hi @suds144 

 

You can apply the formula using multi-field formula like below.

atcodedog05_0-1644261539622.png

 

Hope this helps : )

 

suds144
8 - Asteroid

Thank you!! I was using the formula tool and not getting anywhere!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @suds144 

Cheers and have a nice day!

suds144
8 - Asteroid

I have another question. 

What if my input was this

suds144_0-1644264027162.png


And I wanted to combine the appointment attended and appointment drop-ins into one so my final output looks like this

suds144_1-1644264125979.png

 

 

atcodedog05
22 - Nova
22 - Nova

Hi @suds144 

 

can you provide this data in excel.

suds144
8 - Asteroid

Thank you :)

atcodedog05
22 - Nova
22 - Nova

Hi @suds144 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1644265404360.png

 

Hope this helps : )

 

suds144
8 - Asteroid

Thank you!!! Yesssss! This worked!

Labels