Skip to main content
Microsoft Idea

Power BI

Needs Votes

Materialized views in PostgreSQL

Vote (136) Share
Helge Larsen's profile image

Helge Larsen on 02 Feb 2017 22:54:03

When I connect Power Query to a PostgreSQL database I get a list of tables and views in the database. But materialized views are not shown. I would suggest that Power Query would be able to connect to materialized views, too.

Comments (19)
Helge Larsen's profile image Profile Picture

Bobby Iliev on 15 Sep 2023 14:18:04

RE: Materialized views in PostgreSQL

I am also really interested in this. It's perplexing that it's not supported out of the box

Helge Larsen's profile image Profile Picture

Oliver Kuhn on 29 Jun 2023 12:49:38

RE: Materialized views in PostgreSQL

com'on microsoft, its not that hard

Helge Larsen's profile image Profile Picture

Qiyun Feng on 08 Jun 2023 16:42:10

RE: Materialized views in PostgreSQL

Really no reason to not have this...nor will it take much time to support...

Helge Larsen's profile image Profile Picture

Steven Kienle on 14 Mar 2023 17:39:22

RE: Materialized views in PostgreSQL

This is really not a "Needs Votes" issue. Materialized Views are a standard SQL database object and from a language standpoint are no different than any other object. By not supporting them, Power BI is forcing all the developers to break from standard practice to bend data models to work for Power BI.

Helge Larsen's profile image Profile Picture

Santosh Erukulla on 08 Mar 2023 11:49:36

RE: Materialized views in PostgreSQL

will this ever be implemented?

Helge Larsen's profile image Profile Picture

Mike Hapner on 04 Jan 2023 19:28:56

RE: Materialized views in PostgreSQL

So much disappoint!

Helge Larsen's profile image Profile Picture

Mathieu Jehanno on 05 Jul 2020 23:39:38

RE: Materialized views in PostgreSQL

'You can access to a materialized view in PostGre by writing a request like that :

= public_Schema{[Name="XXXXX",Kind="View"]}[Data]

Tip: create first a new source and then just change the table name XXXXX

Helge Larsen's profile image Profile Picture

Peter Sladen on 05 Jul 2020 23:39:00

RE: Materialized views in PostgreSQL

Create your own normal view or just do the Advanced option in the Get Data and do a Select statement from the materialized view in there.

Helge Larsen's profile image Profile Picture

Libor Ukropec on 05 Jul 2020 23:36:27

RE: Materialized views in PostgreSQL

Incredible that materialized views are not supported yet. Can this be fixed? I just upgraded PostgreSQL to be able use materialized views for performance reasons and PowerBI just killed it. OK, let's stay with workaround...

Helge Larsen's profile image Profile Picture

Sunder Nagarajan on 05 Jul 2020 23:36:12

RE: Materialized views in PostgreSQL

A nice workaround is to create a view in PostgreSQL for the materialized view. Worked wonders. Indexed views in SQL server do not allow for remote access. Hopefully SQL server 2016 may have those features available.