Free Trial

Alteryx Designer Desktop Discussions

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

Level of detail calculation work around?

Ting
7 - Meteor

Hey guys: 

 

I'm just wondering if there is anyway to do level of detail calculation in Alteryx? I used to do a report in Tableau but I'm trying to recreate everything using Alteryx. 

 

I did a sample data set: 

 

So I have a bunch of locations that sells different product. I want a summarize table that preferably one row for each location. I want a distinct count for the "Product Type" for each location on a rolling 12 month basis. I can technically filter out the previous month data, but I'm also trying to automate the as much as possible so I won't need to manually filter every time. 

 

I tried to use summarize tool and do a bunch of group by but didn't work out well....any thoughts on this? 

 

I truly appreciate the help!!! 

 

Input Data: 

LocationYear MonthProduct TypeSales

A

201701#10.5
A201705#250
A201706#250
B201604#250
B201605#10.5
C201709#310
C201712#415
C201710#310

 

Desired format: 

LocationRolling 12 Distinct Product Count
A1
B2
C2
2 REPLIES 2
Inactive User
Not applicable

Hi Ting

 

Answer attached. Note in 12 months you have 2 distinct products for A.

Ting
7 - Meteor

It worked perfectly! 

 

Thank you!! 

Labels
Top Solution Authors