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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.