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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
wpf_
Post Prodigy
Post Prodigy

Connecting using sql server vs dataverse or D365

I have a directquery that connects to dynamics 365 using the sql server connector.  I am connected to a Dev environment and a Prod environment data source of the same application.   When I am connected to the Dev data source, the data/times are preserved in BI.  But the Prod data source data/times are converted to UTC.  I checked both data sources and they both have the same date/time settings.  

 

It seems that when I connect using dataverse, both data sources are then consistent with date/time, however some of the fields are missing.  I either fix the inconsistencies using sql server connection, or use dataverse connection but fix the missing fields.  Hope someone can help. Thanks. 

2 REPLIES 2
fsim
Responsive Resident
Responsive Resident

@wpf_ Hi ! I ran quite a lot of test about commondataservice.database and Sql.Database connector.
As far as I can tell, the SQL one works faster and should(*) have less impact on production server that the DV connector.
In both case, I was using the = Value.NativeQuery(src," an SQL query")
(*) as long as the sql read only database is really a replica of the production server. I cannot find any evidence of this , but chat GPT was quite sure about it 🙂

 

v-zhangti
Community Support
Community Support

Hi, @wpf_ 

 

To help keep the size of the returned data within acceptable limits, use as few multi-line text columns and choice columns as possible.

 Please refer to the following documentation to see if it can help you.

Create a Power BI report using the Dataverse connector - Power Apps | Microsoft Docs

Use SQL to query data (Microsoft Dataverse) - Power Apps | Microsoft Docs

 

Best Regards,

Community Support Team _Charlotte

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

 

 

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors