Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

How to create Excel with grouped Rows - Similar to the Excel Group function

cdushel
5 - Atom

Hello!

 

I am looking to create an excel output of my data where the data is grouped by rows. I can't seem to find this functionality in alteryx the same way excel handles it. I want to take the current Alteryx output of my data:

 

cdushel_3-1582669003334.png

 

 

And transform it in Alteryx to output this:

cdushel_4-1582669045287.png

 

 

So when collapsed it should look like this:

 

cdushel_5-1582669073154.png

 

I want to assume row1 is the headers and the rows are grouped by employee ID, with the first record of the ID displaying as the "sample" line. Is there anyway to do this in Alteryx?

 

Thank you!

 

 

 

5 REPLIES 5
CharlieS
17 - Castor
17 - Castor

Hi @cdushel 

 

That group formatting feature is not supported in the Alteryx Reporting tools. It may be possible to add that formatting after you have written the file using VBS, Cscript.exe, and the Run Command tool, but this could get very complex. 

cdushel
5 - Atom

Is there possibly a series of tools you could use to arrive at the same solution? Even though there isn't one button or function for it?

jacob_kahn
12 - Quasar

@cdushel 

 

What I would do is insert a Summarize tool before you are ready to output and Group by ALL of your fields (columns)  

 

It's a great feature of the Summarize tool to quickly sort. 

trevorwightman
8 - Asteroid

@CharlieS Since it has been two years since this question was asked, is this still the case where this functionality is unavailable? If so, is the best way to just perform this grouping/collapsing directly in Excel?

CharlieS
17 - Castor
17 - Castor

@trevorwightman 

 

That's correct, adding the grouping functionality is not a supported function. However, there have been some developments in Excel support. Mainly, the "Preserve Formatting on Overwrite" is available when writing to a specific range of cells in Excel. This means that if you are updating a range of cells that has grouping enabled and the arrangement of your data is identical, it should retain that function in Excel.*

 

https://help.alteryx.com/20214/designer/file-format-options

 

*I have not tested this myself, Let me know how it goes!

 

 

Labels