BookmarkSubscribeRSS Feed
davidmitrovic
Calcite | Level 5

Hi All,

 

I'm trying to use Power BI to connect with SAS data sets with SAS Providers to OLEDB. The main issue is that when we connect we see all the libraries and tables from the SAS Workspace Server. Anybody knows if it's possible to specify a single library in the connection string?

 

We are using this string:

 

provider=sas.IOMProvider.9.46;data source=SASApp;mode=Read;sas cell cache size=10000;sas machine dns name= hostname;sas port=8591;sas protocol=2;sas server type=1

 

Thanks!

 

4 REPLIES 4
SASKiwi
PROC Star

What is the issue with that? If the SAS data libraries are defined in SAS metadata then they are designed to be globally available to any SAS user whose metadata permissions allow it.

davidmitrovic
Calcite | Level 5

Hi,

The problem is not with the libraries, is with the information that returns the OLE DB connection from PowerBI. The connection returns for example, the following libraries (and all the tables that the libraries contains):

 

Lib1

Lib2

Lib3

But with the PowerBi we only wants to see the library "Lib3" with the tables of that library only.

 

Thanks!

SASKiwi
PROC Star

The only solution I can think of would be to set up a new instance of the SAS workspace server, called say SASApp2 and configure that instance to only assign the LIB3 library. You can do that in SMC in the data connection properties for LIB3 where you specify the SAS servers (SASApp2) it is assigned on.

 

Then you call SASApp2 in your OLEDB connection string.

davidmitrovic
Calcite | Level 5

It is a solution but in this server we have already defined 8 different SASApp. Our idea is to define the connection string so that we can specify a single library to connect to. 😞

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 1854 views
  • 0 likes
  • 2 in conversation