This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
In this post, a user asked if you can merge cells in the Table Tool like you can in excel. There are lots of ways you can get creative with the Table Tool, for example you can have your report span across the page in multiple columns as described here or you can add totals to your data to add to your report or create headers and sub-headers as described here.
So, how do you merge cells using the Table Tool itself? You can merge cells by nesting a table inside another table:
Tables can be nested more than one deep, you could start off with city, roll up to region, and then to state:
To clean up the doubled up header rows that are created when nesting tables like that, deselect "show column headings" in the Table Tools' settings:
.... and create the header row in a separate Table Tool. In this example, we are also changing the background color and making the font bigger, and changing the wording to "Region" for the Region column:
Lastly, there should also be subtotals for each region.As with anything in Alteryx, there are different ways of doing this, they could be added as described inthis post, or the process used to create the headers can be used. First, the data is summed to create totals, then the totals are put into tables grouped by region:
Lastly, the table snippets are combined in a Layout Tool using the "Vertical Merge Contents to Line Up Table Columns" option:
Also see the attached v2018.1 workflow for the complete example.