Skip to main content
Solved

Create Multiple Sheets in a single Excel Spreadsheet - Fanout question

  • May 24, 2025
  • 1 reply
  • 22 views

vxn43
Supporter
Forum|alt.badge.img+18

Hello, 

I am having difficulties creating a spreadsheet with 2 sheets. In the screenshots included I have 2 Excel Writers. I have chosen Fanout Dataset since I want the file name to include a timestamp. The workspace runs successfully. But only a single sheet in the spreadsheet is written. 

Daily Totals is included as a sheet in the spreadsheet, and Running Total is not. What do I need to do in order to include both sheets: Daily Totals and Running Total (seen as two Writers in the screenshots below).

 

When I do not choose Fanout Dataset, the two sheets are written to the spreadsheet, but the file name has no timestamp. When I use Fanout Dataset one sheet is written to the spreadsheet and the file name has the timestamp. 

 

My workspace includes the DateTimeStamper Transformer that creates the _timestamp attribute.

.

 

 

 

 

Best answer by vxn43

I solved the problem. My DateTimeStamper Transformer was not included in the part of the workbench that writes to the 2nd sheet in the spreadsheet. This transformer was only included in the part of the workbench that writes to the 1st spreadsheet. 

I moved the DateTimeStamper Transformer to be immediately after the Reader to ensure both Writers receive the DateTimeStamp. 

View original
Did this help you find an answer to your question?

1 reply

vxn43
Supporter
Forum|alt.badge.img+18
  • Author
  • Supporter
  • Best Answer
  • May 24, 2025

I solved the problem. My DateTimeStamper Transformer was not included in the part of the workbench that writes to the 2nd sheet in the spreadsheet. This transformer was only included in the part of the workbench that writes to the 1st spreadsheet. 

I moved the DateTimeStamper Transformer to be immediately after the Reader to ensure both Writers receive the DateTimeStamp. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings