Power Query Folder Option

Lame

New Member
Joined
Apr 1, 2022
Messages
5
Office Version
  1. 2016
Platform
  1. Windows
HI guys,
I am facing issue while using power query. i want to get data from folder and in that folder i have 33 diffrent sheets. But the problem is in all 33 workbooks the sheet name is different and hence power query does not transform all data and shows error. But when i rename all sheets name as same in all 33 workbooks then it works, so how can i solve this issue so do not rename all sheets manually.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
the M Language has both absolute naming references (default) and relative naming. Go to the sample query and find the step that loads the single page. There will be a step that references the sheet, in part, something like this.
{[Name=“Sheet 1”,Path=“Folder\Sub folder]}
you can consider this as the curly brace being the row, with the Square brace being the filters needed on the columns to uniquely locate that row. You can simulate this by putting filters on the columns when looking at a list of sheets.
simply replace everything in the curly braces with a 0, indicating the first row (assuming it is the first sheet)
{0}
 
Upvote 0

Forum statistics

Threads
1,223,670
Messages
6,173,722
Members
452,529
Latest member
jpaxonreyes

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top