Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have my tables in group as in the picture:
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.
Solved! Go to Solution.
@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
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
@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
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")),
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
10 | |
7 | |
7 | |
6 | |
6 |