Import data from multiple tabs/sheets in Excel

MukeshP203
Tera Contributor

I have a requirement where i have a catalog item with excel template and upload button. Now the excel has two sheets, in one sheet there is data of a certain table and the other sheet contains data of other table (like reading, fuel) but both are related. I have to transform this data into specific tables.

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @MukeshP203 

You can use the same source, but you need to create two different transform maps to link with two different tables

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron
Tera Patron

@MukeshP203 

then you can have 1 data source, 1 transform map on any table (reading or fuel)

1) Don't use field maps

2) you can use single transform map on any target table either A or B and handle everything in onBefore transform script

what did you start and where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

My mistake, reading or fuel are fields from the 2nd table. Also , with 1 data source how will the 2nd sheet's data will be extracted?

 

sravanikinfy
Tera Contributor

How do we automate this instead of loading manually through transform maps.