Help with merging columns and counts


I have a survey with multiple options so I separated them into separate columns for counting

I need to merge them into one column with count numbers?

Please help

Hi @leonaa01

To count the number of columns with an answer you can use the Column Aggregator node. Don’t forget to un-check Missing.


gr. Hans

3 Likes

Hi Hans

Thanks for the reply

I need the total counts e.g. how many selected people selected each option?

They could select multiple options

Is there a way to do that with column aggregator?

Thanks

1 Like

This is what it looked like before I separated the columns
image

Hi @leonaa01

Then I misunderstood your question. One way to count the responses is to UnPivot the table with the …UnPivot node. In the configuration the Value Columns are the columns with the answers to count. And it is a good idea to remove those columns (exclude) from the Retained Columns. After execution the node, your result is in the ColumnValues column.

gr. Hans

1 Like

Thank you Hans that worked

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.