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

Alteryx Designer Desktop Discussions

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

Formula to aggregate data

suds144
8 - Asteroid

Hi All,

 

I have the following input

suds144_0-1645122733220.png

 

And am trying to get the following output

suds144_1-1645122761193.png

I tried using the formula function
IIF(([Student in Attendance (Appts)]+[Student in Attendance (Events)])>=1)
but I keep getting an error - what am I doing wrong? Ideally, I want to combine students in attendance (appts) with students in attendance (events) if their combined score is >1. If it isn't then I want it to show 0.

 

 

 

4 REPLIES 4
suds144
8 - Asteroid

Dummy data attached here

atcodedog05
22 - Nova
22 - Nova

Hi @suds144 

 

Here is a workflow based on my understanding.

 

atcodedog05_0-1645123187691.png

 

Hope this helps : )

 

suds144
8 - Asteroid

Thank you! Why the Min function?

atcodedog05
22 - Nova
22 - Nova

I am using min to get a minimum of both is this logic is not correct please provide sample input and expected output.

 

Happy to help : ) @suds144 

Cheers and have a nice day!

Labels
Top Solution Authors