Forum Discussion
How do i convert Import to Direct query mode for Common Data Source Connection
- Anonymous5 years ago
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
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,
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.
- Anonymous5 years agoNot applicable
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.
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.
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.
- prakash114402785 years agoPost Prodigy
Hi Anonymous ,
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.
- Anonymous5 years agoNot applicable
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.