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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
shane7mcdonald
Frequent Visitor

Cannot change direct query settings

Hi all,

 

I have a report where I initially set up a 'direct query' to a SAP database and also unchecked enable load in Power Query for that particular table. The problem I now have is that I can't access Power Query anymore. I don't think it would have been an issue if i didn't uncheck enable load as there is a prompt to let you know that there is a 'direct query' connection. How can I get back into the Query Editor so I can change the query from 'direct query' to 'import'??

 

2020-08-20_19-42-52.jpg

1 ACCEPTED SOLUTION

Are you sure that is Direct Query? I do not think it is. I think that is a live connection, like connecting to SSAS.
I am not familiar enough with SAP BW but it may be that on the initial connection, Power BI said "Ok, would you like to use this through Power Query, in which case we will do a bunch of import queries, or would you like to use a live connection, in which case we will treat it as an OLAP Cube"

If that is what it did, there is no way to convert. That is not the same as Import vs Direct Query mode. Live is a whole 'nuther ball of wax, but no way to convert from one to the other. It was an irreversable decision on the initial connection.

 

That would be a strange way to connect though. I will be curious of someone else with more SAP BW experience drops in this thread.

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

6 REPLIES 6
amitchandak
Super User
Super User

@shane7mcdonald , go to edit data source and check any option there.

https://windowsreport.com/change-data-source-power-bi/

Greg_Deckler
Super User
Super User

@shane7mcdonald - Try going to Data source settings.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi Greg,

 

I tried that, but it gives me no option to change the connection settings from 'direct query' to 'import' (see image below), just the settings to the database itself.

 

2020-08-21_7-07-49.jpg

Are you sure that is Direct Query? I do not think it is. I think that is a live connection, like connecting to SSAS.
I am not familiar enough with SAP BW but it may be that on the initial connection, Power BI said "Ok, would you like to use this through Power Query, in which case we will do a bunch of import queries, or would you like to use a live connection, in which case we will treat it as an OLAP Cube"

If that is what it did, there is no way to convert. That is not the same as Import vs Direct Query mode. Live is a whole 'nuther ball of wax, but no way to convert from one to the other. It was an irreversable decision on the initial connection.

 

That would be a strange way to connect though. I will be curious of someone else with more SAP BW experience drops in this thread.

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Yep, you could be right, it may well be a live connection, it was an old report I'm reviving so I can't remember exactly, but what you say is now making sense. Thanks for the reply @edhans 

Great @shane7mcdonald - glad to help out. 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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