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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Applicable88
Impactful Individual
Impactful Individual

Is it possible to extract strings from a big table and filter them into smaller tables?

Hello

 

assume I have a column "Location" with a stringvalue like "PlaceA", "PlaceB", "PlaceC" and so fourth. Every string has many rows in that big table. I want to separate that table, instead of having one big table I want several smaller tables to work with. 

Is there a way to extract those from the big table? Otherwise I need to do it manually and that takes a lot of time. 

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

Generally, it's better to have a single table rather than multiple tables with the same structure but it should be possible to split if you need to for some reason. You would create a query for PlaceA that references the big table and then filter for "PlaceA" in the "Location" column. Repeat for each smaller table.

 

Note that while you can duplicate each small table query to create the next small table query, I don't think there's a way to automatically/dynamically separate a single query into multiple tables. Each table that gets loaded to the data model from Power Query must have its own query.

View solution in original post

1 REPLY 1
AlexisOlson
Super User
Super User

Generally, it's better to have a single table rather than multiple tables with the same structure but it should be possible to split if you need to for some reason. You would create a query for PlaceA that references the big table and then filter for "PlaceA" in the "Location" column. Repeat for each smaller table.

 

Note that while you can duplicate each small table query to create the next small table query, I don't think there's a way to automatically/dynamically separate a single query into multiple tables. Each table that gets loaded to the data model from Power Query must have its own query.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors