Forum Discussion
ekimakIA
4 years agoFrequent Visitor
How to get Database name for ODBC Datasource from Power BI
Hi, Is there any API or any DAX Query through which we can get the database name for ODBC Source type. We tried the Datasource API for Dataset and Gateway both, but in that we are not getting det...
GilbertQ
Super User
4 years agoHi ekimakIA
From your screenshot the table name is below?
Otherwise what about looking at the Gateway API to get all the data sources?
You could then match the datasourceID from the GatewayAPI and match it to the above API?
I have done something similar to this in the past