Forum

Trouvez des réponses, posez des questions, et partagez votre expertise d’Alteryx.
TIPS de la semaine

Chaque semaine, découvrez de nouvelles astuces et bonnes pratiques pour devenir un expert !

Voir l'index
RÉSOLU

Duplicated rows after transpose and join tool

Mouhcine
Météoroïde

Hello dear Alteryx Community, i need your help

I have a table with qualitative and quantitative columns. (see image)

 

1.PNG

 

The idea is to transpose the January and February columns and keep the qualitative columns (ID, CODE) and the SALES column as they are.

 

to do so i, i selected the ID, CODE, January, and February columns. Then I transposed February and January

2.PNG 

3.PNG

 

in the result i have this :

 

4.PNG

The problem is that the sum of the output sales is not correct.

I've tried grouping the Sales column by ID and code, but neither the sum nor the average gives me the right amount at the end. Could you tell me what is the right method to do in this case please?

 

thank you in advance for your help

3 RÉPONSES 3
BenoitC
Alteryx
Alteryx

Hello/Bonjour @Mouhcine

 

Tu peux utiliser l'actions "Max" dans l'outil Summarize, exemple ci-dessous (et en PJ). Tu auras pour résultat la somme de la colonne KPI et la colonne SALES qui affichera la valeur d'origine.

 

Pour info, l'outil Join peut parfois dupliquer une valeur si la clé l'autorise.

 

image.png

Benoit Conley

Sales Engineer
Alteryx, Inc.

BenoitC
Alteryx
Alteryx

Hello @Mouhcine 

 

N'hésites pas à indiquer si ma solution t'as aidé ! En marquant le post en résolu, ça permet aux autres utilisateurs s'ils peuvent trouver la réponse à leur question :)

 

Benoit

Benoit Conley

Sales Engineer
Alteryx, Inc.

Mouhcine
Météoroïde

Hello @Benoit,

Je vous ai répondu mais malheureusement je ne sais pas ce qui s'est passé je ne vois pas ma réponse.

 

Je vous remercie de m'avoir répondu et aidé à trouver la solution pour mon besoin.

 

Bien à vous, :)

 

Étiquettes