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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors