Showing results for 
Search instead for 
Did you mean: 

Share your thoughts on DirectQuery for Power BI datasets and Azure Analysis Services (preview)

Hit Reply and let us know what you think of the DirectQuery for Power BI datasets and Azure Analysis Services.  To learn more about this feature, please visit this blog post or our documentation.


Here are some areas that we'd like to hear about in particular:

  • Performance
  • Query editor experience--the remote model query doesn't show up in the query editor and only in the data source settings dialog. What are your thoughts?
  • Navigator experience
  • Thoughts around governance and permissions for models that leverage this feature
  • Nesting models, i.e. building a composite model on top of a composite model
  • Automatic page refresh for live connect in composite models

Thanks and we look forward to hearing your feedback!


- The Power BI Modeling Team

528 REPLIES 528
New Member

On the wesite it states that:
"If you refresh your data sources, and there are errors with conflicting field or table names, Power BI resolves the errors for you"


Not sure what is the exact definition of "field", but it doesn't resolve names of measures being idential. In my scenario I connect to multiple tables from different Power BI datasets (Direct query). Then if more than one of the sources gets new measure with the same name and they both hit my "combined model" at the same time, I get an error that "name is already used, and no refresh is working".


Feel free to contact me for a demo in case of any questions. 

I found the same when the same fully qualified DAX name for the measure in both models? i.e key measures[measure] is in both models. The refresh error implied it was getting duplicates when it was expecting a single item... I think the workaround I had was to subtlety change the table name.


But this does need to be resolved 

correct, this is on our radar and part of our de-duplication efforts.

Frequent Visitor

Hi @jeroenterheerdt,


We are developing reports using the Direct Query connection for PBI dataset feature and now we are having the some use cases to them in Power BI Embedded, which is currently not supported as described on the documentation.


Is there any planned release to allows this kind of use cases? This is critical for us.


Thank you

what issues are you seeing?

This is the issue:



Any plans to allow to use Power BI Embedded for reports with DirectQuery to PBI Datasets?


Thank you

There are no plans to enable this in the near future - it's a security problem that we still have to resolve. 

Frequent Visitor

Hi, this is a great feature - but after months developing for my org using the feature, I am suddenly getting errors when refreshing which is jeopardising my entire project:


I have only found one thread on this issue, here:

with users positing that MS have removed the ability to create calculated tables on DQ data, or on using certain calculated table functions on DQ data (e.g. I am creating calculated tables on DQ tables using FILTER (with || OR conditions), CALCULATETABLE, and other DAX. All of this worked fine earlier this year, yet it now fails despite the model not changing.

Please could someone confirm what MS have changed to invalidate the methods I've been using - it's very frustrating and currently my only option is to convert all of these data models to 100% import, which will mean a huge amount of time wasted. Thanks!



Have you raised a support ticket? It may be just a bug in the release. Documentation hasn't been updated to reflect a change in desktop Using DirectQuery for datasets and Analysis Services (preview) - Power BI | Microsoft Learn


I understand it isn't helpful for you right now, however, I specifically don't build production solutions using preview features, or am prepared to 'fix it', due to this disclaimer.



Frequent Visitor

I'm having an error when I'm trying to use a Durect Query for PBI datasets, which I described in this post.


In summary, I'm getting an error when I execute a Power Automate Flow that exports a PBI report developed using a Direct Query for PBI Dataset. The flow is successfully executed, but the PDF file generated diplays several error messages for the visuals and it is not possible to see the message. In the post mentioned above it is well described how to reproduce the error and a screenshot of it.


Could you please check if there is anything I should change or is it a bug?


Thank you


thanks for reporting, I replied in the post chat.

Advocate I
Advocate I



In short when will some of the RLS contraints be relaxed, specifically the item in red text below from the documentation write up.  


  • RLS rules will be applied on the source on which they're defined, but won't be applied to any other datasets in the model. RLS defined in the report won't be applied to remote sources, and RLS set on remote sources won't be applied to other data sources. Also, you can't define RLS on a table from another source group nor can you define RLS on a local table that has a relationship to another source group.


From <>


Here's the design challenge where i'm trying to avoid maintaining 2 different copies of the same file. 


I have a "Central Source" PowerBI Dataset that has master employee dataincluding sensitive comp information (fact table)  which has RLS [Ops person for Departartment 1 only sees staff in Department 1] in place on a department reference table (dimension table) . I'm trying to build other reports off that power BI dataset that aren't sensitive or restricted so that all staff can see. Most design options I attempt fail due to RLS restrictions associated with the Direct Query on PowerBI Datasets preview feature.


  1. Design Option 1 [FAIL] - When I create a new report "All Staff Reports" and  I direct query to the "Central Source" Power BI dataset the RLS upstream is imposed preventing people with read access to "Central Source" and my new  "All Staff Reports" to seeing the data unless I want to add them to RLS to the master employee data restricting them, which I don't want to do. 

  2. Design Option 2 [FAIL] -  I decided to remove the Department reference table and RLS from the "Central Source" Power BI dataset and add it as a local table to the "All Staff Reports" imposing RLS. I created a relationship to the master empoyee data table in "Central Source" on Department reference table in "All Staff Reports" . The relationship works, the RLS works on the department table. However the RLS won't apply upstream to the master employee data table due to the red text highlight above from MS documentation. 

  3. Design Option 3 [Fail] - create another Power BI Dataset just for the Department Reference data and in a new "All Staff Reports" dataset connect to "Central Source" and "Department Reference" datasets. Then create a relationship between the Master Employee Data in the "Central Source" and Department in "Department Reference". I then try to apply RLS on another power BI dataset that I have a direct query connect to but can NOT because that's part of the documented limitations 😞 


At this point i've resolved to having to copy the file into two files and maintain the two but that defeats the purpose of what I think you all were going for tied to the preview feature. Posting here in the hopes you all are losening some of the RLS restrictions. 


Thank you for taking the time to review!

hi, thanks for the detailed feedback and explanation. Unfortunately we are not planning improvements in this area in the short term as this is a hard problem to solve. We simply don't have a good design yet for it that satisfies all requirements. That being said, thanks again for the feedback. This is very valuable input that helps us prioritize this. 

Not applicable

Hi, all,

I have one report using data imported from databases. And another team developed a report which gets data from hundreads of excel files, I need the same data and don't want to bother myself to import the data again, so I tried to connect their PBI dataset instead. Which created a "composite model" and I failed with this solution due to the following 2 problems encountered:

(1) I couldn't set refresh schedule for my dataset due to the credential setting error:

快照44.jpg Seems that this is a known issue, but when can it be fixed? ( )


(2) When I shared the report to other users, they couldn't see the visuals with data from the direct query dataset.

I have figured out the root cause: When we share report to another user, a "link" will be created and added into the backend dataset. But with composite mode, the link is only added to the "local" dataset, not to the direct query dataset. 

I tired "Live connet" mode and found that PBI can add the link to the source dataset when the report is shared.

So I guess here PBI has a bug. Could you please help to fix it?


By the way, seems that PBI currently doesn't support live connect to multiple datasets, is it possible to add this feature? It will be helpful to consolidate reports (just put them together, no data exchange between datasets which we know direct query is needed).

Frequent Visitor

Lost table relationships when converting Live Connection to Direct Query.

Premium Workspace Dataset from SQL Server Analysis Services database.

Get Data > Power BI Dataset > Table Relationships exist

Make Changes to the Model > Table Relationships disappear except one.

that is not supposed to happen! Can you tell me more about the relationships? Maybe look at the properties over in SSAS to see if any of them have special flags on them?

Please provide additional information regarding finding special flags ?


Tried accessing data base directly, same issue
Get Data > SQL Server Analysis Services database > Table Relationships exist
Make Changes to the Model > Table Relationships disappear except one.

you can use any SSAS client tool such as management studio or others to connect to the database. Please check for anything related to private on tables. we have had an issue before where if a table was private it would still be loaded and we have hence fixed it, but wondering if you are experiencing another issue related to it.

Can Microsoft confirm if this is the expected behaviour ?
Workaround after ongoing troubleshooting with user.
Issue related to table key columns being hidden due to Object Level Security being set in Azure SQL Server Analysis Services Database.
Relationships remained after converting from Live Connection to Direct Query when allocated Confidential role access in Azure.
So if a key column has Object level security then all relationships that use that column would be deleted.
Can Microsoft confirm if this is the expected behaviour ?

Regular Visitor



As mentionned in the limitations of the feature, only users that have Build permission on the datasets can see the report/visuals (4th bullet point):


The build permission is not something we necessarly want to grant to any user who wants to consult the «composite» report ... is there any workaround for this limitation?









thanks for the feedback, this is something we're planning to change: just 'read' permissions will be required when we make this feature generally available.

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors