This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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)
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 3 | |
| 3 | |
| 2 |