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.
SOLVED

Amending Basic table headers

janani_venkat
7 - Meteor

Hi All,

 

In my workflow, since I have changing Month End dates, I used dynamic rename to make 6 months data as 1/2/3/4/5/6 every time. However, when I render this finally to excel, I want the old Month End Dates to be displayed in MMM-YY format - can you please tell me how I should do this?

 

Original data:

janani_venkat_1-1613916703751.png

 

Changed using dynamic rename as below:

janani_venkat_2-1613916784118.png

 

For my final output, I want this to go back from 1/2/3 to MMM-YY formats - how do I reverse the rename to original before rendering to excel?

janani_venkat_3-1613916859049.png

 

Thanks!

6 REPLIES 6
atcodedog05
22 - Nova
22 - Nova

Hi @janani_venkat 

 

Can you provide your workflow with some sample data so that we can look into it.

mot
11 - Bolide

Hi @janani_venkat,

 

I am not sure why you had to rename the header. I think that you may be able to reach your desired outcome without this step but you may need to give more details to offer some suggestions.

 

Using your current workflow, there are several options to get back the original header names. You can create a table for the original first rows (field 1:1, Field 2: Dates, etc.) and then then use find and replace tool to replace the numbers with the original. I hope this helps.

 

 

janani_venkat
7 - Meteor

Hi @atcodedog05 

 

Attached is my workflow sample - the reason I do the intervention is that I need to put in conditional formatting in my table and if I make the months constant, I wouldn't need to create that rule every month (since dynamic didn't seem to work)

 

@mot Would you mind giving me an example please?

mot
11 - Bolide

Hi @janani_venkat,

 

I understand your issue now. Since the column names will continue to change, you will have to continue updating the formatting rules. One way to resolve this problem would be to hide the header from the original table and add another table with the header only. You can then utilize union to show both tables together. You will need to have the same width for each column in both tables for the combination to look consistent. See my updates in the file. I hope this helps. Best.

janani_venkat
7 - Meteor

@mot 

 

This is just what I was looking for! Thank you.

 

Is there a way to hide the 1/2/3 header before rendering?

grazitti_sapna
17 - Castor

Hi @janani_venkat , is this something you are trying to achieve?

grazitti_sapna_0-1614061850920.png

You need to deselect the show column header option

 

grazitti_sapna_1-1614061876209.png

 

If this helps kindly mark this post as solution.

 

Thanks.

Sapna Gupta
Labels