Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Principle Components Analysis

greganderson
6 - Meteoroid

Hello,

 

I am trying to use the Principle Components Tool for the first time and have got the following error. I have 8 fields that I would like to perform this on and have ticked these in the configuration window.

 

Any help would be much appreciated!

 

greganderson_0-1659020417204.png

 

4 REPLIES 4
CharlieS
17 - Castor
17 - Castor

Hmmmm, I see you filtered out record with null values in one field, but was this done for all fields used in the PCA? What about other checks on the field values?

 

I've often found that R tools don't communicate issues with the data values well. 

greganderson
6 - Meteoroid

Thank you very much for the suggestion, one of the fields had a lot of null values and so removing this seems to have solved the issue.

 

However, when I copy the three tools into a larger workflow (the input to these is exactly the same as it was in the previous workflow) i now get the following error around my first column header. I tried renaming this field but then I get the same issue for my second column, any ideas what could have caused this?

 

greganderson_0-1659022788210.png

 

CharlieS
17 - Castor
17 - Castor

Depending on the source of the data, there may be some weird invisible characters in the field name that are removed when it's saved/loaded as an Excel file. Try to Rename that field in the Select tool and try again. 

LiuZhang
9 - Comet

Can you give a screenshot of the metadata, so we can see the data type. Though I wouldn't suggest to do PCA with ID column.

Labels