Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
I am using Power BI desktop and I need to deliver a tool for users to easily view their data. I am intersted in creating a new table based on a filtered main table where the filter parameters is stored in a list. The end goal is to have the main table parsed into subtables so the users can find data easilty by the Table->Field hierarchy in the Power BI field bar.
A simplified example -
Input
Table_Attributes: Attributes of fruit (each fruit has a different attributes in the table);
List_Fruit: [Apples, Bananas, Pineapples];
Output
Table_Attributes
List_Fruit
Table_Apples
Table_Bananas
Table_Pineapples
@zimme063 wrote:
I am using Power BI desktop and I need to deliver a tool for users to easily view their data. I am intersted in creating a new table based on a filtered main table where the filter parameters is stored in a list. The end goal is to have the main table parsed into subtables so the users can find data easilty by the Table->Field hierarchy in the Power BI field bar.
A simplified example -
Input
Table_Attributes: Attributes of fruit (each fruit has a different attributes in the table);
List_Fruit: [Apples, Bananas, Pineapples];
Output
Table_Attributes
List_Fruit
Table_Apples
Table_Bananas
Table_Pineapples
You can create the tables manually.
let
Source = Table.SelectRows(Main_Table, each ([fruit] = "Apples")),
tableApples = Table.SelectColumns(Source, Table.ToList(Table.SelectColumns(Table.SelectRows(Table_Attributes, each ([fruit] = "Apples")),"attributes")))
in
tableApples
let
Source = Table.SelectRows(Main_Table, each ([fruit] = "Bananas")),
tableBananas = Table.SelectColumns(Source, Table.ToList(Table.SelectColumns(Table.SelectRows(Table_Attributes, each ([fruit] = "Bananas")),"attributes")))
in
tableBananas
let
Source = Table.SelectRows(Main_Table, each ([fruit] = "Pineapples")),
tablePineapples = Table.SelectColumns(Source, Table.ToList(Table.SelectColumns(Table.SelectRows(Table_Attributes, each ([fruit] = "Pineapples")),"attributes")))
in
tablePineapples
However I don't think you can create the tables dynamically according to the List_Fruit table. For me it doesn't make much sense, for example, provided the dynamically way would work, when the list_fruit table changes, after refreshing, there're more/less tables, for newly added tables, they were not used in the report visuals. For the missing tables, you reports would show errors. In my opinion, dynamical schema and metadata is not a good practice.
I guess we can get more proper suggestion in Power Query from @ImkeF. 🙂
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 38 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 68 | |
| 65 | |
| 30 | |
| 26 | |
| 25 |