Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
gotters
Resolver I
Resolver I

Fetch data programmatically from a dataset via API or TOM?

Is there any way via code to retrieve/fetch data via the dataset in c# via the REST API or Tabular Object Model?

 

I have a table that contains metadata which I want to load and use to apply some changes to the dataset.

 

Thanks

 

1 ACCEPTED SOLUTION
gotters
Resolver I
Resolver I

Turns out it can be done via the adomd library on which you can make a connection to the dataset and run a query (Evaulate) to return results.

View solution in original post

1 REPLY 1
gotters
Resolver I
Resolver I

Turns out it can be done via the adomd library on which you can make a connection to the dataset and run a query (Evaulate) to return results.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.