This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi,
i have a folders with several csv files.
I know how to import them but before i have to import only the first 5 rows of each files and after the rows from 6th to 10th
Can you help me?
Alessandro
Solved! Go to Solution.
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
Import the CSV files from the folder:
Go to Home > New Source > Folder.
Select the folder containing your CSV files.
Click Combine > Combine & Load.
Filter the first 5 rows:
In the Power Query Editor, select the table containing the combined data.
Add an Index column by going to Add Column > Index Column > From 1.
Filter the rows where the Index column is less than or equal to 5.
Filter the rows from 6th to 10th:
Duplicate the query with the first 5 rows.
Change the filter to get rows where the Index column is greater than or equal to 6 and less than or equal to 10.
Proud to be a Super User! |
|
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 29 | |
| 25 | |
| 25 | |
| 21 | |
| 14 |
| User | Count |
|---|---|
| 59 | |
| 50 | |
| 25 | |
| 20 | |
| 20 |