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

Join 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.

Reply
user2321
New Member

Data Source Error

I have previously been able to connect to my Postgres DB through the powerBI gateway - I just added a new table from there and now I get this error 

 

Data source error{"error":{"code":"DM_GWPipeline_Gateway_InvalidMashupConnectionString","pbi.error":{"code":"DM_GWPipeline_Gateway_InvalidMashupConnectionString","parameters":{},"details":[],"exceptionCulprit":1}}} 

 

I've tried many things but Im not sure why this has happened. It fails for the tables where I have these sort of PowerQuery steps:
- filtering rows

- sorting rows

- removing duplicates

- reordering columns 

- and adding rank columns (Table.AddRankColumn(#"Filtered Rows2" , "initial_rank", {"rank_final"}, [RankKind=RankKind.Competition])

 

Has anyone got any ideas?

 

Update: I have traced this step by step (Table.AddRankColumn(#"Filtered Rows2" , "initial_rank", {"rank_final"}, [RankKind=RankKind.Competition])
Thsi is it and I cannot figure out whats wrong with it.

1 REPLY 1
lbendlin
Super User
Super User

Have a look at the query diagnostics.  Power Query may try to fold that step and fail to do so.

 

Note:  stuff like reordering columns or ranking is better avoided. Do that in the UI if you must.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.