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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Luis92
Regular Visitor

Dataset Access from PowerBI Desktop

Hi there,

 

We have a problem with a direct query Dataset but we are unsure if there is a solution for this. 

 

We have a Gateway connection (pointed to our PostgreSQL database) to PowerBI, I have created a direct query dataset so other users with Contributor access to the PowerBI instance can manipulate the data and create reports on it.

 

However, when the contributors download the dataset and try to manipulate the data (transform data) they are asked to add a local model which subsequentely adds another dataset with a reference to the first dataset when published.

 

Alternatevily, we can transform the data without adding a local model, but in this case it seems that the contributors need direct access to the database, which is not something we want.

 

Is there a way for us to have a direct query dataset and allow contributors to manipulate the dataset and create reports without having to create a second dataset and without having to provide direct access to the database? 

 

Any help with this would be much appreciated.

1 ACCEPTED SOLUTION
Bipin-Lala
Super User
Super User

Hi @Luis92,

 

In Power BI, when you connect to a published dataset, the default behavior is a Live Connection. As you've discovered, a Live Connection is "Read-Only" for the model schema - you can't add tables or transform data.

To transform data, you have to switch to a Composite Model, which creates a new "chained" dataset or second dataset as you call it.

 

Solution:

If you want to give them the ability to "transform" without touching the database, Dataflows are your best friend.

  1. Instead of a DirectQuery dataset, build a Dataflow that connects to your PostgreSQL DB via the Gateway.

  2. Your contributors connect to this Dataflow in Import Mode.

  3. They can transform the data to their heart's content in Power BI Desktop. They never need the database password because the Gateway handles the "handshake," and they only publish one primary dataset.

Dataflows are ideal in your scenario. Let me know how it goes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


Regards,

Bipin Lala | Business Intelligence Developer



View solution in original post

2 REPLIES 2
Luis92
Regular Visitor

Hi @Bipin-Lala thank you very much for your reply.

This post was from a little ago and eventually our requirements drove us in exactly the direction you mentioned so that's spot on.

Thank you again, will accept your solution.

Regards

Bipin-Lala
Super User
Super User

Hi @Luis92,

 

In Power BI, when you connect to a published dataset, the default behavior is a Live Connection. As you've discovered, a Live Connection is "Read-Only" for the model schema - you can't add tables or transform data.

To transform data, you have to switch to a Composite Model, which creates a new "chained" dataset or second dataset as you call it.

 

Solution:

If you want to give them the ability to "transform" without touching the database, Dataflows are your best friend.

  1. Instead of a DirectQuery dataset, build a Dataflow that connects to your PostgreSQL DB via the Gateway.

  2. Your contributors connect to this Dataflow in Import Mode.

  3. They can transform the data to their heart's content in Power BI Desktop. They never need the database password because the Gateway handles the "handshake," and they only publish one primary dataset.

Dataflows are ideal in your scenario. Let me know how it goes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


Regards,

Bipin Lala | Business Intelligence Developer



Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.