Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
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:
Thanks and we look forward to hearing your feedback!
- The Power BI Modeling Team
Thank you for this answer.
It works fine.
This has been in preview for 2 years now. @tessahurr: What are we waiting for to make it GA?
Exactly my question! This was first published as a biggest thing in Power BI world at the time but now I hear nothing about this and not even a best guess for GA. It is annoying to know, that this feature is available but only in theory. There were so many bugs when testing this, that I am waiting for GA to continue any work with this.
Five days from the two-year anniversary of "a milestone in business intelligence."
I doubt that the mainstream media will recognize the importance of such innovation. But users that create and consume reports every day will immediately realize the impact of this change....
It is here, and it just works.
😫
I would like to chime in by saying I support Microsoft in not making a feature GA until it is truly ready for prime time. There has been bugs yes but to their credit they have not released to GA prematurely and they are throwing fixes at the bugs quite quickly.
Secondly, this is a very difficult thing to implement technically.
The feature looks to be largely implemented via extensions to the DAX language itself and implements relationships between the local and remote model by placing large lists of data inside DAX statements in dynamic sets.
Finally, if you are an enterprise model designer, it's important to understand how this feature works under the hood to help you decide whether or not you should use it in your particular scenario, taking into account its features and limitations - and other factors such as the size of your model. In some cases, extending a single, base model - is going to provide a far superior solution than composite modelling.
There is a setting DiscourageCompositeModels that can be used to control whether composite modelling is permitted at a dataset level.
thanks all, we are not quite ready yet for prime time (or making this generally available). Yes, it takes a long time (longer than any of us want) but we are dependent on infrastructure changes that are taking longer than expected before we can declare GA.
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.
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.
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: https://community.powerbi.com/t5/Desktop/Refresh-Failed-file-pfoledbreader-cpp-line-836-function/td-...
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.
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.
Team,
In short when will some of the RLS contraints be relaxed, specifically the item in red text below from the documentation write up.
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.
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.
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:
Seems that this is a known issue, but when can it be fixed? (https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-datasets-azure-analysis-s... )
(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).
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.
User | Count |
---|---|
91 | |
88 | |
88 | |
79 | |
49 |
User | Count |
---|---|
153 | |
145 | |
106 | |
74 | |
55 |