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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to interface with ...
Power Apps
Answered

How to interface with my Dataverse tables

(0) ShareShare
ReportReport
Posted on 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?

I have the same question (0)
  • Verified answer
    ivan_apps Profile Picture
    2,189 Moderator on at

    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!

  • Verified answer
    ebonnett Profile Picture
    35 on at

    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.

  • ebonnett Profile Picture
    35 on at

    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!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard