Alteryx Designer Desktop Discussions

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

How do I apply color to a lot of columns at once with the table tool?

Anonymous1
7 - Meteor

Here is an example dataset:

 

restaurantrestaurant_addressrestaurant_phone_numberitemitem_priceitem_score
Ray's Chicken930 Thompson Drive, Mechanicsburg, PA 17050(549) 215-2737Chicken Sandwich$64
Ray's Chicken930 Thompson Drive, Mechanicsburg, PA 17050(549) 215-2737Chicken Tenders$58
Ray's Chicken930 Thompson Drive, Mechanicsburg, PA 17050(549) 215-2737Chicken Pot Pie$75
McDonald575 S. Coffee St., Green Bay, WI 54302(385) 700-8314Big Mac$53
McDonald575 S. Coffee St., Green Bay, WI 54302(385) 700-8314Chicken Nuggets$35
Greg's Ice Cream7595 Fordham Street, Prattville, AL 36067(469) 674-0693Vanilla$47
Greg's Ice Cream7596 Fordham Street, Prattville, AL 36067(469) 674-0694Chocolate$46
Greg's Ice Cream7597 Fordham Street, Prattville, AL 36067(469) 674-0695Strawberry$45

 

Here is my goal, it will be a .xlsx spreadsheet. Here is a mock-up made in Excel:

Anonymous1_0-1654236901669.png

Goal:

1) Each field will have just enough space to make everything fit width-wise, both header and data for a column.

2) Border will be visible.

3) Certain columns will be of a certain color.

 

I know how to do it column by column but that takes a LONG time when my real data has like 70 fields... is there an easier way to apply color to a lot of fields at once in either of these two scenarios?

 

Scenario 1) The fields will have a keyword in it to identify which category it belongs in (ex: restaurant, item)

Scenario 2) The fields does NOT have a keyword to identify the category, no pattern.

 

I was hoping for a multi-select by holding down shift and clicking the columns in the table tool but no go...

 

Thank you for any advice or help!

5 REPLIES 5
binuacs
20 - Arcturus

@Anonymous1 This can be achieved by using the Table tool. You can find more information in the below post about the Table tool

 

https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Tool-Mastery-Table/ta-p/49555

 

 

binuacs_1-1654238304251.png

 

 

Qiu
20 - Arcturus
20 - Arcturus

@Anonymous1 
I believe you want to be dynamic, which I can not really achieve but I do want to give a workaround.
Row and Column rules can be written to evaluate values in the data but not the field names.
https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Table-column-heading-rule-based-highli...

0603-Anonymous1-1.PNG0603-Anonymous1-2.PNG0603-Anonymous1-3.PNG

binuacs
20 - Arcturus

@Qiu brilliant suggestion!!! 

 

@Anonymous1 Another option is to select the Dynamic or Unknown field and edit columns and make the formatting. Once that is done if you add any new columns in the input file the formatting will be applied by default

 

binuacs_0-1654240144572.png

 

Anonymous1
7 - Meteor

@Qiu @binuacs Thank you both for your inputs, I have tried the suggestions here and Qiu got me closer to what I needed. I appreciate both your help very much!

Qiu
20 - Arcturus
20 - Arcturus

@Anonymous1 
Thank you for the feedback. Sorry for not completely figuring it out. 😁

Labels