Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello,
i have multiples excel files with data saved in a certain worksheet. The name of this worksheet is different in every Excel file, but the name of the worksheet always starts with "Data ". How to i open the data from a specific worksheet?
So somehow, if the Name begins with "Data ", the Query should open (or click) this Table.
What I tried so far: Adding a custom Column, which has the Name of the Data, if it starts with "Data ". No I tried to open it, with a Conditional, but havent managed to do it.
#"Added Custom" = Table.AddColumn(Source, "GetDataName", each if Text.StartsWith([Name],"Data ") then [Name] else null),
How do I open a Table based on the dynamic name?
Solved! Go to Solution.
Hi @Anonymous ,
You should just be able to filter your name column, something like this:
Table.SelectRows(previousStepName, each Text.StartsWith([Name], "Data "))
Then expand the [Data] column using the button at the top right that looks like two arrows bending away from each other.
Pete
Proud to be a Datanaut!
Hi @Anonymous ,
You should just be able to filter your name column, something like this:
Table.SelectRows(previousStepName, each Text.StartsWith([Name], "Data "))
Then expand the [Data] column using the button at the top right that looks like two arrows bending away from each other.
Pete
Proud to be a Datanaut!
Thank you!
How do i now open this table ? I usually click on the Table. Clicking it hardcodes the name, tough.
Pete
Proud to be a Datanaut!
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 5 | |
| 4 | |
| 4 |