Free Trial

Alteryx Designer Desktop Discussions

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

The Field Summary Tool changes column names and order

NAC
6 - Meteoroid

I see that the Field Summary Tool has two problems:
1. it does not keep the original column names,
2. it does not keep the original column order.

Am I missing something or this is this a bug?

Remark:
My installation of Alteryx is not the latest.
Maybe it was fixed later on.
Here's my installation:
• AlteryxInstallx64_2022.1.1.40869
• AlteryxPatchInstall_2022.1.1.2.40869
• RInstaller_2022.1.1.40869

Here's an example.
Consider the following table :

id date item sku
1 2022-12-03 potato 0001
2 2022-12-04 potato 0001
3 2022-12-05 banana 0002
4 2022-12-06 apple 0003

The column "Name" of the output "O" of the Field Summary Tool shows these columns :

id
item
sku
Date

We see that some names changed ("date" became "Date") and that the column order is permuted compared to the initial order.

2 REPLIES 2
martinding
13 - Pulsar

Hi @NAC ,

 

I experimented with the data but couldn't replicate the bug you mentioned.

I am on Version: 2022.1.1.25127

 

test input.png

test.png

  

DavidSkaife
13 - Pulsar

Hi @NAC 

 

So i was able to replicate this (I'm on version 2022.1.1.30961) :

 

DavidSkaife_0-1670363767751.png

 

Looking under the hood of the tool, the reason for the order coming out the way it does is due to the order it processes the field data types and unions them back together; firstly numeric, then string, then datetime, and finally spatial

DavidSkaife_1-1670363894731.png

DavidSkaife_2-1670364317171.png

 

Regarding the capitalisation of date I cannot see anything that would be causing that - as running the data through the macro itself results in the right output:

 

DavidSkaife_3-1670364492738.png

 

If you change the date header to something else, such as 'bob', it outputs correctly. Only reason for it to capitalise date that i can think of is Date is a column used within the tool, as it's created for the R output.

 

A minor quircky bug?

 

Labels
Top Solution Authors