Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Calculating slots

mroker
6 - Meteoroid

Hello guys, I am stuck while trying to solve this particular issue. Here is the table I am looking at and the results I am trying to get to:

 

IDTimeItem
508:00Facebook
408:00Instagram
508:30Facebook
409:00Instagram
509:30Facebook
209:30Facebook

 

 

Channel08:0008:3009:00
Facebook111

 

1x - 2

2x - 1

3x - 1

 

What I want to do is show where users are on facebook in either 1, 2, or 3 timeslots. For example above, user 5 was on Facebook 8:00, 8:30, and 9:00 while userid 4 was only on Instagram for 2 timeslots. For number 2, I want to show which users were using a channel on one timeslot, then who was on for two timeslots, and who were on for all three back to back.

 

Hopefully this makes some sense. 

 

Thanks!

 

6 REPLIES 6
PhilipMannering
16 - Nebula
16 - Nebula

Hi @mroker 

 

Maybe this solves your problem?

PhilipMannering_0-1606319917661.png

 

atcodedog05
22 - Nova
22 - Nova

Hi @mroker 

 

Here is a workflow for the task.

Output:

atcodedog05_0-1606319988362.png

Workflow:

atcodedog05_1-1606320004937.png

Hope this helps 🙂 Feel to ask if you have any questions


If this post helps you please mark it as solution. And give a like if you dont mind 😀👍

BrandonB
Alteryx
Alteryx

Maybe something like this:

 

timeslot.png

timeslot 2.png

mroker
6 - Meteoroid

Thanks, this is really close with what I had wanted. I had actually wanted to see per channel which ones have 1, 2, and 3. So in other words, for timeslot 8, how many persons were on once, twice, 3 times, etc for each time slot. I am not sure if that is possible.

PhilipMannering
16 - Nebula
16 - Nebula

@mroker Like this?

PhilipMannering_0-1606322320049.png

Could you mock up your exact answer? I'm confident it is possible.

atcodedog05
22 - Nova
22 - Nova

Hi @mroker 

 

Are looking for something like this

atcodedog05_0-1606322644377.png

Or

atcodedog05_0-1606322844756.png

 

If not please provide an expected answer

 

We can help you out 🙂

Labels