We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

VERY VERY Urgent help required Please

Swaraj8565
7 - Meteor

Hi 

This is a cohort chart the repetition depends on the divide number 

Attached the Image of the workflow.

ProductDivide JanFebMarchApr
A2Jan1   
A2Feb12  
A2Mar 23 
A2Apr  34

 

Very urgently required please help

 

Input table is 

ProductDivideJanFebMarApr
A21234

 

Hoping for a best possible earliest response

 

16 REPLIES 16
Rajsekhar8917
7 - Meteor

@cplewis90 

@DavidP 

@danilang 

Hey Ace experts

 

please help I also need a solution for this 

Please

 

huynv96
9 - Comet

Hope this help you!solution.PNG

 

Swaraj8565
7 - Meteor

Hey 

First of all thanks for the solution but it didnot work

It only worked for divide number 2 

lets take for number 4 it should be like

INPUT:

 

ProductDivideJanFebmarApr
A41234

output should be 

ProductDivideJanFebmarApr
A41   
A412  
A4123 
A41234
A4 234
A4  34
A4   4

 

huynv96
9 - Comet

Hi, @Swaraj8565 

Do you mean Output:

solution.PNG

Input:solution0.PNG

Swaraj8565
7 - Meteor

Hey

Check your values in jan column it should be repeated 4 times where as your value is repeated 2 times please check the output whichnI am sending with your output image

Hey 

First of all thanks for the solution but it didnot work

It only worked for divide number 2 

lets take for number 4 it should be like

INPUT:

 

ProductDivideJanFebmarApr
A41234

output should be 

ProductDivideJanFebmarApr
A41   
A412  
A4123 
A41234
A4 234
A4  34
A4   4

 

Swaraj8565
7 - Meteor

Hey 

the solution Still  did not work

It only worked for divide number 2 

lets take for number 4 it should be like

it should be repeated for divide number times

INPUT:

 

ProductDivideJanFebmarApr
A41234
B31234
C21234

output should be 

ProductDivideJanFebmarApr
A41   
A412  
A4123 
A41234
A4 234
A4  34
A4   4
B31   
B312  
B3123 
B3 234
B3  34
B3   4
C21   
C212  
C2 23 
C2  34
c2   4

 

 

danilang
19 - Altair
19 - Altair

Hi @Swaraj8565@Rajsekhar8917  

 

It's interesting that both of you have exactly the same problem.  Are your assignments due tonight?  Since it looks like this is a learning exercise that you should be doing yourselves, I'll give you a couple of big hints.  

 

Hint #1. This workflow is dynamic and will work for any number of rows and values of [Divide]

 

w.png

 

Hint #2

 

The heart of the workflow is the Generate rows that determines the final number of rows in the output using OutputRow <= [Divide]+[Count]-1 and then the Formula removes the proper value using the following 

If [OutputRow]>[RecordID]-1 AND [OutputRow]<[Divide]+[RecordID] then
	[Value]
else
	null()
endif

 

I'll leave it to both of you to determine the configuration of the remaining tools

 

Dan

huynv96
9 - Comet

Your expectation

solution.PNG

Swaraj8565
7 - Meteor

Hey

First of all thanks for the response 

 

Me and the other guy dont know each other and this is not an assignment 

This is a project of cohort

Nowadays we need the use of cohort everywhere

I would request you to kindly give me the solution instead 

as it looks to be easy while explaining but if we do the workflow I am sure It wont work out

I am banging my head since 3 weeks around this 

and I hope this would be helpful to every one as this type of problems arise every where

and even I dont have the Idea of macro

 

Henceforth I would request you to help me out with the solution beacause I have tried a lot of methods to work this out but all are in vain

 

Regards 

Swaraj

Labels
Top Solution Authors