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
prakash11440278
Post Prodigy
Post Prodigy

How do i convert Import to Direct query mode for Common Data Source Connection

Hi Team,

 

I have created the reprot connection as Import and devloped a new report. Now i want to change my connection from Import to direct query because of live data present in the report when cds data changes. I have tried in modelling tab for changing the connection method, it is not helping. Please help me on this scenario.

1 ACCEPTED SOLUTION

Hi @prakash11440278 

I am glad that you can find a workaround to solve your problem. 

Could you kindly accept the helpful reply as a solution? More people will benefit from it.

 

Best Regards,

Rico Zhou

View solution in original post

7 REPLIES 7
ibarrau
Super User
Super User

Hi, you can't do that. Sadly once the source is import you won't be able to chage it. The only change is from Direct Query to Import. As a workaround try to re use the most. Duplicate the file, delete all the sources in the Transform Data menu and get data again with direct query to check if visualizations will keep working.

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Hi @ibarrau ,

Thanks for the reply.

I have tried the option. But when i tried to get data it is not showing to choose the connection mode and it is directly entering into the import mode. Even i have tried multiple times it is showing the import mode only. May i know why i am not able to select that option where i am able to see that option in initial time.

Hi @prakash11440278 

What kind of data source do you get data from?

I have a test by SQL Sever, it works well.

I get data (table named School) by import connection mode.

1.png

Then I get data source in Power Query again by Direct Query (Table named School(2)).

Delect School and rename School(2) as School.

The visual works well and show connection mode in Direct Query.

2.png

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

 

Hi @v-rzhou-msft ,

I am using CDS import connection. When inital time it is asking the connection method, after i import the tables and again i tried it is going into import mode and not showing direct query option.

Hi @prakash11440278 

Please refer to this blog for more details: DirectQuery CDS from Power BI

I hope it could help you solve your problem.

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

 

 

 

Hi @v-rzhou-msft ,

Thanks for your reply.

This is not a recommended method for production environment.

I have a workaround this by using power flows.

 

Hi @prakash11440278 

I am glad that you can find a workaround to solve your problem. 

Could you kindly accept the helpful reply as a solution? More people will benefit from it.

 

Best Regards,

Rico Zhou

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.