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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
GrantTrevor
Regular Visitor

Access tables from a Direct Query Dataset in a Blank Query

I'm trying to work out if it's possible to access Tables that exist within a Power BI dataset that is using Direct Query from another Query.

 

Steps so far:

* New Power BI Desktop Report

* Add Power BI Dataset from Power BI Service

* Switch to Direct Query storage mode

* Click 'Get Data' -> Blank Query

 

None of the tables from the Dataset appear in the left hand Queries view when Power Query open.

 

I've tried accessing the tables within the Advanced Query editor using a number of approaches all of which result in an error

 

I understand I can't modify the tables in the original Dataset but I would like to create a new Table based on data in the Direct Query Dataset.

 

"DataSource.Error: AnalysisServices: The user "....." does not have permission to call the Discover method."

3 REPLIES 3
amitchandak
Super User
Super User

@GrantTrevor , the Power bi dataset will come as full.  And you can do changes or view script as of now.

 

You can try dataflows, in case you want access tables separately. But dataflow is not a model, just a set of  tables in service.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks @amitchandak  for that response.

 

I'm not trying to alter the tables in the direct query dataset instead what I would like to achieve is to create a new Table that pulls in data from that Direct Query Dataset but have that table only be present in the Report I'm authoring.

 

This would mean the Report uses two DataSets

* one pulled in via Direct Query

* one that is for this Report only and it contains a Table that pulls/transforms data from the other one.

Any updates or lead on this? I came across the very same scenario.

1) I am provided a PBI Dataset that's published.
2) I am trying to find a work-around to bring in the data as IMPORT mode instead of DirectQuery. 

3) I've tried Transformation/MCode and referencing the DirectQuery table but it's not recognizing it.


Any help on this would be greatly appreciated. Thank you.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.