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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

ODBC navigator doesn't show materialized views

I'm trying to pull data into Power BI using an ODBC connection to a Postgres database. When I select my ODBC connection to connect to, the Navigator pops up for me to select tables to load. The list of tables include all the tables and views in my database, but it doesn't include Materialized Views. 

 

Is there any way to get Materialized Views into Power BI?

1 ACCEPTED SOLUTION
v-caliao-msft
Microsoft Employee
Microsoft Employee

@Anonymous,

 

Based on my research, Power BI is not support Materialized Views currently. Some on had already posted this feature reuqest, pelase refer to the link below to see the details.
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/17924470-materialized-views-in-postgresql

 

Thank you for your understanding.

 

Regards,

Charlie Liao

View solution in original post

2 REPLIES 2
v-caliao-msft
Microsoft Employee
Microsoft Employee

@Anonymous,

 

Based on my research, Power BI is not support Materialized Views currently. Some on had already posted this feature reuqest, pelase refer to the link below to see the details.
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/17924470-materialized-views-in-postgresql

 

Thank you for your understanding.

 

Regards,

Charlie Liao

Anonymous
Not applicable

@v-caliao-msftAlthough you are correct that PowerBI does not natively support Materlized views you can edit or create new PowerQueries which will allow you to access the data via the Materlized view.

 

To do this access the PowerQuery edititor by editing your existing queries and then go to a query you wish to modify to access a Materilized view. You can then "right click" and access the advanced editor where you can then edit the query directly.

 

See an example below which i modified which is pulling data from a schema reporting which only contains materlized views. I then leave the Kind type on the component import as "Table" and this will allow PoweBI to pull in the data from the Materlized view and treat it like a normal table.

 

let
Source = Odbc.DataSource("dsn=demoserver", [HierarchicalNavigation=true]),
bds_hub_report_Database = Source{[Name="bds_hub",Kind="Database"]}[Data],
public_Schema = bds_hub_report_Database{[Name="reporting",Kind="Schema"]}[Data],
component_Table = public_Schema{[Name="component",Kind="Table"]}[Data]
in
component_Table

 

There maybe some limitations to this approach and it will not fix the auto import capability within PoweBI but at least it gives you a method of pulling in your data.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.