Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hello Folks,
First, I hope I'm posting in the correct place, if not I'm sorry.
I want to access a published PBI dataset in C# using TOM, but I can't seem to find out how you'd query it.
I mean, do you write the query in SQL, Linq, DAX or somthing else?
I don't want to do anything too exciting to begin with, just get the items and quantities sold to a given customer in a given date range.
Thanks in advance for any help,
Beefheart.
Solved! Go to Solution.
For that you would use a DAX query. However, that's not what TOM is about. TOM gives you access to the metadata. For DAX queries you connect to the SSAS instance (XMLA endpoint)
Hi lbendlin,
Thank you for the information! To clarify would this be the Microsoft.AnalysisServices.AdomdClient.NetCore.retail.amd64 nuget package?
Thank you again for your time,
Beefheart
For that you would use a DAX query. However, that's not what TOM is about. TOM gives you access to the metadata. For DAX queries you connect to the SSAS instance (XMLA endpoint)
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |