# How to read data from two csv files for two different requests in same collection?

**URL:** <https://community.postman.com/t/how-to-read-data-from-two-csv-files-for-two-different-requests-in-same-collection/24545>\
**Category:** Help Hub\
**Created:** [June 5, 2021, 8:35am UTC](https://community.postman.com/t/how-to-read-data-from-two-csv-files-for-two-different-requests-in-same-collection/24545 "2021-06-05T08:35:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![suresh.67717](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@suresh.67717](https://community.postman.com/u/suresh.67717)\
**Post date:** [June 5, 2021, 8:35am UTC](https://community.postman.com/t/how-to-read-data-from-two-csv-files-for-two-different-requests-in-same-collection/24545/1 "2021-06-05T08:35:48Z")

</div>

**Your question may already have an answer on the community forum. Please search for related topics, and then read through the [guidelines](https://community.postman.com/t/about-the-just-getting-started-category/37) before creating a new topic.**

> Here’s an outline with best practices for making your inquiry.

_My question_:  
How to read data from two csv files for two different requests in same collection? I have Two Requests one for adding devices and One for adding users from CSV files

_Details (like screenshots)_:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/5/d/5d4eaed5a8d51bd2ec7568e7f7b3023cdb6a5e2b.png)

_How I found the problem_:  
At once I am able to give only one csv file to collection

_I’ve already tried_:

---

<div class="post-metadata">

**Author:** ![taehoshino](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/taehoshino/32/6608_2.png) [@taehoshino](https://community.postman.com/u/taehoshino)\
**Post date:** [June 7, 2021, 4:50am UTC](https://community.postman.com/t/how-to-read-data-from-two-csv-files-for-two-different-requests-in-same-collection/24545/2 "2021-06-07T04:50:15Z")

</div>

Hey @suresh.67717 👋 Welcome to the Postman Community 🎉

Currently, only one data file can be passed to a single collection. Here’s more about using data files:

> **[Importing data files](https://learning.postman.com/docs/running-collections/working-with-data-files/)**

As a workaround, I would suggest using different variable names for the two requests and concatenating the two csv files into one.

Hope this helps, but please feel free to let me know if you have further questions 😃

---

<div class="post-metadata">

**Author:** ![suresh.67717](https://avatars.discourse-cdn.com/v4/letter/s/a8b319/32.png) [@suresh.67717](https://community.postman.com/u/suresh.67717)\
**Post date:** [June 7, 2021, 5:04am UTC](https://community.postman.com/t/how-to-read-data-from-two-csv-files-for-two-different-requests-in-same-collection/24545/3 "2021-06-07T05:04:45Z")

</div>

Thank You so much for the response @taehoshino .  
Can I you Use two separate sheets for each collection in the same CSV.

---

<div class="post-metadata">

**Author:** ![taehoshino](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/taehoshino/32/6608_2.png) [@taehoshino](https://community.postman.com/u/taehoshino)\
**Post date:** [June 7, 2021, 5:13am UTC](https://community.postman.com/t/how-to-read-data-from-two-csv-files-for-two-different-requests-in-same-collection/24545/4 "2021-06-07T05:13:33Z")

</div>

Thanks for your response @suresh.67717 👋

No unfortunately, you cannot pass multiple sheets. I found a similar question [here](https://community.postman.com/t/data-driven-from-excel-having-multiple-sheets/1313/2), which might be a possible workaround for you too 🙂
