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
andrmh
Helper II
Helper II

PBI Desktop going into Import Data mode

Hi All,

 

This is a strange one, We have been using the "Change Data Source" feature for our financial system reports, to swap between development and production servers.

 

We connect to a SQL SERVER data source, using windows credentials.

We run Direct Query mode.

After flicking back and forth, several times, and admittedly playing a bit with credentials and all the various settings, our projects locked themselves into a "Import Data" state, that could not be reversed. Direct query was completely disabled. I could not find any setting that seemed to re enable direct query.

 

In the end I simply started over, recreating the project and report and everything works well again. But I'd like to know whats happening that could have lead to this scenario, as we do need  a method for swapping between servers without keeping "DEV" and "PROD" versions of a report.... effectively doing the work twice.

 

Thanks,

 

 

1 ACCEPTED SOLUTION

@andrmh Are you inadvertantly connecting to multiple databases? DQ only works against one database. It should be fine if it's the same db in both environments and you are just swapping connections... 


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

2 REPLIES 2

@andrmh Are you inadvertantly connecting to multiple databases? DQ only works against one database. It should be fine if it's the same db in both environments and you are just swapping connections... 


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

This is most likely it.
Thank you.

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.