Skip to main content
Solved

Limit a variable end range of an Excel Reader


Forum|alt.badge.img

I'm using five Excel readers that are pulling the spreadsheet data from a REST endpoint (URL). The purpose of the model is to combine all five spreadsheets into one output. They have the same schema. The issue I'm running into, is that the spreadsheets will all have a variable number of rows from week-to-week and when I specify the Cell Range in the Reader Parameters as (*:) the writer is still including all of the blank rows below the data for each spreadsheet, so the final output has a chunk of data, blank space, chunk of data, blank space, etc. Is there any way around this?

Best answer by erik_jan

After reading you could use a Tester to test if <first attribute> "has a value" and write only records where this test passes.

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

2 replies

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • Best Answer
  • April 26, 2017

After reading you could use a Tester to test if <first attribute> "has a value" and write only records where this test passes.


Forum|alt.badge.img
  • Author
  • April 26, 2017
erik_jan wrote:

After reading you could use a Tester to test if <first attribute> "has a value" and write only records where this test passes.

This worked great, thank you!

 

 


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