This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hello,
I am an IT intern with some experience in databases but not a whole lot with Excel, and none with Power Query.
My small company requires me to make some pivot tables with relevant info from their SQL database, however in order to do that I would like first to have a clear idea of what the DB's structure is like.
I would like to display the database's general structure with power query, using an ODBC. However all I get when inputting the datasource is basically a list of all the tables in the DB.
Any ideas or suggestions? Thank you
@Anonymous
PQ is not a db software, instead it is a business intelligence tool used to transform and shape data from different sources. Please first read the following blog:
The Complete Guide to Power Query | How To Excel
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
I would add a column of the column names of each table in the dB. PQ is actually THE BEST way to get an idea of what's in the database. Once you have your list of Db tables:
NewColumn = Table.AddColumn(LastStepName, "Columns", each Table.ColumnNames(_[DataTableName]))
This will list the columns in each table, right next to its table name. When I was new, I did this all the time.
--Nate
@Anonymous , you're barking up the wrong tree. Power Query isn't a db management software; on the contrary, ask db admin for data dictionary or something similar.
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.