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