Skip to content
Primary Menu
  • Home
  • About
  • Blog
  • Tools
  • Twitter
  • LinkedIn
  • GitHub
Mark Carrington

Data, D365, Diabetes, Lego, …

T-SQL

Covering the T-SQL endpoint for CDS that was announced at MBAS 2020 and is currently in public preview.

  • Home
  • MSDyn365
  • T-SQL
Category: Data Platform/MSDyn365/T-SQL

Accessing Dataverse with Entity Framework

Posted On 21st September 202421st September 2024 By Mark Carrington2 Comments

Back when I originally looked at Dataverse’s TDS endpoint, one of the things I noticed was that you couldn’t use the Entity Framework reverse engineering tools to access the data. Thankfully, things have changed!

Category: Data Platform/MSDyn365/Power BI/T-SQL

OptionSet Labels in Power BI Reports

Posted On 9th March 20219th March 2021 By Mark Carrington12 Comments

If you’ve tried reporting on your Dataverse / Dynamics 365 data using Power BI, you’ll probably have noticed you don’t get the labels associated with any optionset (now “Choice”) fields in your data. There are ways around this such as using the PowerBI OptionSet Assistant solution. In this post I’ll Continue Reading

Category: MSDyn365/T-SQL

TDS Endpoint Time Zone Change

Posted On 25th February 202123rd March 2021 By Mark Carrington2 Comments

A change has been rolling out recently to the Dataverse TDS Endpoint that affects how date/time values are returned, which should give your queries better performance but may mean you’ve got to do a bit more work to ensure the values are shown as your users expect.

Category: MSDyn365/SQL 4 CDS/T-SQL

Efficient Bulk Dataverse Updates with SQL

Posted On 2nd February 20219th March 2021 By Mark Carrington10 Comments

If you need to make bulk updates to your Dataverse or Dynamics 365 data, maybe to fix data quality problems or restructure your data, you may be exporting your data to Excel, making your changes and re-importing it. Or you may be considering setting up a more complex data pipeline Continue Reading

Category: Data Platform/MSDyn365/T-SQL

Using Dates from TDS Endpoint in Power BI Charts

Posted On 19th January 202119th January 2021 By Mark Carringtoncomment

As part of migrating some dashboards to Power BI using the TDS Endpoint I hit a problem getting a chart to show correctly. I needed to show invoices with the values grouped by month. This is simple in a standard Dynamics chart, and when importing the data into Power BI. Continue Reading

Category: MSDyn365/T-SQL

TDS Endpoint Queries with Time Zone and User details

Posted On 2nd January 202125th February 2021 By Mark Carrington1 Comment

A common issue I used to encounter with SQL-based reports for on-premise Dynamics CRM instances was correctly & efficiently filtering on dates. In the underlying SQL tables, Dataverse stores dates & times in UTC time zone, and this is how they’re indexed. In the views that the TDS Endpoint exposes Continue Reading

Category: MSDyn365/T-SQL

CDS T-SQL Endpoint Vulnerability

Posted On 24th September 202022nd October 2020 By Mark Carrington5 Comments

I received a notification today that the preview TDS endpoint had been disabled on my environment because of a security vulnerability.

Category: FetchXML/MSDyn365/SQL 4 CDS/T-SQL

Multi-select Picklist Filtering

Posted On 27th August 202028th September 2020 By Mark Carrington6 Comments

I’ve been doing some work today on filtering multi-select optionset fields in SQL 4 CDS and using the T-SQL endpoint, and I came across a few interesting quirks.

Category: MSDyn365/T-SQL

CDS T-SQL Performance

Posted On 9th August 202025th February 2021 By Mark Carrington2 Comments

I wrote a post a while ago looking at the performance of the T-SQL endpoint compared to using FetchXML. Now I’ve got a better understanding of how it works, I wanted to check if the same performance considerations I’ve previously encountered when working with the filtered views on-premise still apply.

Category: MSDyn365/MSDyn365 Internals/T-SQL

MSDyn365 Internals: T-SQL Endpoint

Posted On 4th August 202028th September 2020 By Mark Carrington11 Comments

Disclaimer: the details in this post are based on the best guesses I’ve been able to make about how this works, which are derived from the behaviour I’ve seen while using it. I don’t have any official information on any of this, so use at your own risk!

Posts navigation

1 2 Next

Copyright © All rights reserved Theme: Infinity Blog by Themeinwp