March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a model online tha connects to a postgres view that is beeing build by end users in postgres.
the view changes often
new columns are beeing added and columns are beeing removed.
I connect to the view with a direct query like this
= Value.NativeQuery(PostgreSQL.Database(db_host, db_schema),"select * from "&db_name&".View name ", null, [EnableFolding=true])
I don't do any other transformation on power query (for example referencing any column on a later step)
the problem is that whenever a column from the view is deleted the online refresh of the model breaks
with the following error
Data source error: The 'COLUMN NAME ' column does not exist in the rowset.
even though the specific column is not referenced anywhere.
on the desktop power bi , if i hit refresh the error is not replicated and the desktop version does the refresh normaly.
so every time something changes on the view I have to open desktop version update localy and push new versiion online
i tried with different connection method
like ODBC and
let
Source = PostgreSQL.Database("xxxxx", "xxxx", [CreateNavigationProperties=false]),
a= Source{[Schema="public",Item="xxxxxxxx"]}[Data]
in
a
but i get the same problem
any ideas on how to address this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.