Forum Discussion
sql server as a datasource, only dbo-tables/views visible
- 10 years ago
Hi Franky,
interesting. 10k tables are definitely a lot, i do not know how PBI handles that.
Have you tried "crafting" your own connection string without using the "get data" api?
Take your example database and copy the "advanced options" of the connection. It should look a bit like this (please be aware that i used pseudo-code, so it does not fit 100%).
let
Source = Sql.Databases("YOURSERVERNAME.database.windows.net"),
YOURSERVERNAME= Source{[Name="YOURDATABASENAME"]}[Data],
Schema_TableName = YOURDATABASENAME{[Schema="scheme",Item="TableName"]}[Data]
in
Schema_TableNameTry to replace the elements in the string with the elements of the big Navision Database. :)
- 10 years ago
You could also try using the SQL statement in the "Get Data" box to directly specify the tables and views you want rather than selecting from the list
Are you sure your user credentials are set up correctly in sql server?
I can see all schemas in my database no problem at all
Yes, I use NT-authentication. just like I connect with SSMS. (I make the views with my account)
When I create the same view below dbo-schema I can see it, when I create the view in another schema (that I create) I do not see the view.
(I've just downloaded the last version of powerbi desktop.)
- itchyeyeballs10 years agoImpactful Individual
Not sure how to resolve that then sorry, as a workaround you could try using ODBC to connect.
- Bjoern10 years agoContinued Contributor
I also do not have the problem. I can see all schemas.
Are you trying to access via PowerBI Desktop or the webservice? Try to install the enterprise gateway and then use the web-service. So you might be able to tell whether it is a local issue, web-service or database-side.
- Franky10 years agoRegular Visitor
Hi,
thx for the feedback.
I'm using powerbi desktop (Version: 2.29.4217.341)
I made a small testdatabase with just a table in the dbo schema and a table and a view in the PBI schema.
All are visible. (dbo.Table1, PBI.Table1 and PBI.vw_Table2)When I use the filter PBI, I only see PBI.Table1 and PBI.Table2, so this works correct.
But when I make a PBI schema and views in that schema in a Navision sql database (over 10 K tables) I cannot see them.
When I filter on PBI they also do not show, (So it's not a problem that there are to many tables to show)
So I would think the amount of tables/views are the problem. (both databases on same server, my laptop)