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

Cannot see relationship columns in Query editor?

If I make a query to a PostgreSQL database, I can see the related tables as a new column at the end of the regular columns. However, if I send this report to my collegue, she doesn't see those columns (the teble itself is visible, only the relationship columns are disappearing), and is unable to refresh. I experimented a bit, and discovered, that if a user with SELECT permission queries the database, the columns are not visible. With the owner of the database, those are visible. What permissions are needed for that functionality?

 

Edit 1:

It turns out the REFERENCES privilege is needed: https://www.postgresql.org/docs/current/sql-grant.html

 

    REFERENCES

        Allows creation of a foreign key constraint referencing the specified table, or specified column(s) of the table. (See the CREATE TABLE statement.)

 

Now my question would be what is executed, or why is that privilege need?

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

hi, @Anonymous 

You may try to refer to this post:

https://community.powerbi.com/t5/Desktop/any-way-to-share-reports-with-whom-do-not-have-data-base/td-p/218396

 

Best Regards,

Lin

 

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hello @v-lili6-msft,

 

Thanks for taking the time, but I don't think this answers any of my questions.

 

Br,

Szabolcs

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.