web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : t729LNQCkU4ciiB+WspjGd
Power Apps - Microsoft Dataverse
Answered

How to interface with my Dataverse tables

Like (0) ShareShare
ReportReport
Posted on 10 Jan 2024 16:30:06 by 35

Hi all,

I have a process I wrote in C# that pulls in Excel spreadsheets, dynamically creates a table per worksheet using C# and the Dataverse SDK, then populates the table with the data in the spreadsheet so folks can link up and display the data using PowerBI. Once the process is run, the tables are in the Dataverse. However I would like to do some analysis like what is in table A that isn't in table B and vice versa. Normally I would use a view or something in Sql Server. What are my options in the Dataverse? Is there an IDE to query the tables I create in the Dataverse? Something like Sql Server Management Studio? I'm having a real hard time figuring out how the hell to get to the tables and query them once I create them. What gives? What's the best way to ad hoc query my tables?

  • ebonnett Profile Picture
    35 on 10 Jan 2024 at 17:25:55
    Re: How to interface with my Dataverse tables

    Thanks Ivan. Appreciate the extra info too. I figured it out after I posted and saw your response so you get the "Accept as Solution" for being a good samaritan 😉 Have a great day!

  • Verified answer
    ebonnett Profile Picture
    35 on 10 Jan 2024 at 17:02:26
    Re: How to interface with my Dataverse tables

    Hi all, I managed to figure out how to connect SSMS to the dataverse environment using this link:
    https://learn.microsoft.com/en-us/power-apps/developer/data-platform/dataverse-sql-query

     

    Thanks, I had tried this before but it didn't work.

  • Verified answer
    ivan_apps Profile Picture
    2,187 Moderator on 10 Jan 2024 at 16:54:50
    Re: How to interface with my Dataverse tables

    For basic data querying - you can just create a model driven app and create views and add filters to get the data you need. It has the ability to save personal views and share them with users. These are equivalent to filtered views in SQL.

     

    i believe you can connect to the sql database for Dataverse via SSMS, you’ll have to enable the TDS endpoints and have the right IPs and ports opened up.

     

    there is an XRM toolbox extension called SQL4CDS which queries the tables using limited sql commands - it transforms SQL to fetchxml if I remember correctly.

     

    Lastly, you can use PowerBi and connect to the Dataverse environment and query your data that way. It’s not exactly SQL terminology but joins and a lot of analytics can be done that way. 

    several ways, hope one works for your needs!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 2

Featured topics