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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
anonymous91
New Member

How to show all the tables in the data pane in a table visual?

I have a report which is connected to a live semantic model now i want to create a table which displays all the fact and dim tables name in my data pane, anyone has any idea how can i do that?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for rajendraongole1's concern about this issue.

 

Hi, @anonymous91 

I am glad to help you.

 

If you don't have a lot of data, maybe you can choose import mode instead of live connection to use import mode, you can create a new Query in Power  Query Editor and enter the following M code (change the Query name according to your specific situation):

vfenlingmsft_0-1728980299536.png

 

vfenlingmsft_1-1728980345412.png

 

let
    AllQueryNames = #sections[Section1],
    CurrentQueryName = "Query1",
    PreviousQueryNames = Record.RemoveFields(AllQueryNames, {CurrentQueryName}),
    QueryNamesList = Record.FieldNames(PreviousQueryNames),
    QueryNamesTable = Table.FromList(QueryNamesList, Splitter.SplitByNothing(), {"TableNames"})
in
    QueryNamesTable

This way you can get all the table names and organize them into the same column:

vfenlingmsft_2-1728980420261.png

 


Because Analysis Service model itself has many limitations, if you really can't convert to import mode, you can also create a table about table names in the data source and then get all the table names in Power BI.

 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks for rajendraongole1's concern about this issue.

 

Hi, @anonymous91 

I am glad to help you.

 

If you don't have a lot of data, maybe you can choose import mode instead of live connection to use import mode, you can create a new Query in Power  Query Editor and enter the following M code (change the Query name according to your specific situation):

vfenlingmsft_0-1728980299536.png

 

vfenlingmsft_1-1728980345412.png

 

let
    AllQueryNames = #sections[Section1],
    CurrentQueryName = "Query1",
    PreviousQueryNames = Record.RemoveFields(AllQueryNames, {CurrentQueryName}),
    QueryNamesList = Record.FieldNames(PreviousQueryNames),
    QueryNamesTable = Table.FromList(QueryNamesList, Splitter.SplitByNothing(), {"TableNames"})
in
    QueryNamesTable

This way you can get all the table names and organize them into the same column:

vfenlingmsft_2-1728980420261.png

 


Because Analysis Service model itself has many limitations, if you really can't convert to import mode, you can also create a table about table names in the data source and then get all the table names in Power BI.

 

 

I hope my suggestions give you good ideas, if you have any more questions, please clarify in a follow-up reply.
Best Regards,
Fen Ling,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

rajendraongole1
Super User
Super User

Hi @anonymous91 - While Power BI does not have a built-in function to automatically list all table names in a DAX table, the methods above (manual entry or using Tabular Editor) will allow you to display the names of your fact and dimension tables in a table visual. If you have many tables, consider using tools that can facilitate management of your model, such as Tabular Editor.

Showing DAX Expressions When Using Power BI Datasets (Live) (youtube.com)

GitHub - TabularEditor/TabularEditor: This is the code repository and issue tracker for Tabular Edit...

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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