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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Mic1979
Post Partisan
Post Partisan

List with all the names in a group

Hello,

 

I have my tables in group as in the picture:

 

Mic1979_0-1746947088471.png

 

What I am doing now it to get a list of all the table names in the group in this way:

 

let
Source = Excel.Workbook(Web.Contents("https://emerson.sharepoint.com/sites/1058573_Car-washManifold/Shared%20Documents/10_Project_Manageme..."), null, true),
TableNames = Table.SelectRows ( Source, each [Kind] = "Table" )[[Name]],
#"Filtered Rows" = Table.SelectRows(TableNames, each ([Name] = "Box" or [Name] = "Clip" or [Name] = "Coil" or [Name] = "CoreTube_SubAssy" or [Name] = "Core_SubAssy" or [Name] = "Cover" or [Name] = "IM_Sheet" or [Name] = "ORing1" or [Name] = "PlasticBody_SubAssy" or [Name] = "Screw1" or [Name] = "Spring1" or [Name] = "Terminal_Protection"))
in
#"Filtered Rows"

 

Is it possible to make this list dinamically, with all the tables included in the group Components BOM?

 

Thanks.

1 ACCEPTED SOLUTION
sanalytics
Super User
Super User

@Mic1979 
Not as a list.. But you can get the all the Table name in one place by using #shared keyowrd..
Below is the code

let
    Source = #shared,
    #"Converted to Table" = Record.ToTable(Source),
    #"Filtered Rows" = Table.SelectRows(#"Converted to Table", each Value.Is([Value],Table.Type))
in
    #"Filtered Rows"

screenshot

sanalytics_0-1746962855995.png

from here, you will have to use your brain and logic how to provide the group name of each table.

 

Hope it helps

 

Regards

sanalytics

View solution in original post

2 REPLIES 2
sanalytics
Super User
Super User

@Mic1979 
Not as a list.. But you can get the all the Table name in one place by using #shared keyowrd..
Below is the code

let
    Source = #shared,
    #"Converted to Table" = Record.ToTable(Source),
    #"Filtered Rows" = Table.SelectRows(#"Converted to Table", each Value.Is([Value],Table.Type))
in
    #"Filtered Rows"

screenshot

sanalytics_0-1746962855995.png

from here, you will have to use your brain and logic how to provide the group name of each table.

 

Hope it helps

 

Regards

sanalytics

Hello @sanalytics 

 

in fact I designed properly the source table, and then I applied a proper filter.

 

TableNames = Table.SelectRows ( Source, each ([Kind] = "Table" )),
#"Filtered Rows" = Table.SelectRows(TableNames, each Text.Contains([Name], "Breakdown")),

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.