Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi everyone!
I’m working with Databricks in Power BI and I need some help.
I want to connect to the **hive_metastore** in Databricks, but instead of importing the actual data, I only want to retrieve the **table names** and **column names** (along with their data types) for each table in the database.
Is there a way to connect and fetch just the metadata (tables and columns) without pulling in the full dataset? I already have the connection details like the **server URL** and **HTTP (token)**, and I’m able to connect to the catalog.
Thanks in advance!
To retrieve only the table and column metadata from Databricks in Power BI without importing the actual data, you can use the Databricks JDBC driver along with SQL queries that target the metadata. Here's a step-by-step approach to achieve this:
Once you're connected, you'll want to use a SQL query to fetch the metadata. You can write a query to list the tables and their respective columns directly. Here's an example query to retrieve table names and column details:
SELECT
t.table_name,
c.column_name,
c.data_type
FROM
information_schema.tables t
JOIN
information_schema.columns c
ON
t.table_name = c.table_name
WHERE
t.table_schema = '<your_database_name>';
Now that you have the metadata loaded, you can create reports or visualizations based on this information.
This method allows you to efficiently retrieve metadata without loading the actual data, enabling you to manage and visualize your database structure easily.
Solution is generating with the help of AI model.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
80 | |
76 | |
60 | |
36 | |
33 |
User | Count |
---|---|
91 | |
60 | |
59 | |
49 | |
45 |