Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
chetanbi
Frequent Visitor

Read multiple SQL server tables with LIKE operator

Hi...

I have a requirement to select all the tables which have name "Sales_" in my SQL server database.

Is there a way to read all of them using LIKE operator in power query.

 

Thanks in advance for your help

 

 

1 REPLY 1
AlexisOlson
Super User
Super User

What do you mean by "select all the tables"?

 

If you mean automatically load each match to a separate query, then I don't think this is possible natively in Power BI (but you can probably do it programmatically with an external tool).

 

If you want to load all the matches into a single query by unioning/appending them together, then this should be possible in the Query Editor.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.