Sunday, December 4, 2022
HomeBusiness IntelligenceShopping Cubes Remotely from Excel

Shopping Cubes Remotely from Excel

Technically while you join to a different community by means of a VPN connection you may see all allowed machines on that community. So it’s simple to connect with a SQL Server occasion utilizing SQL Server authentication. Nonetheless, I’m explaining this half for a few of you guys that is perhaps new to connecting from Excel on to a database on SQL Server and create flashy studies on Excel.

However, what about connecting straight from Excel to a distant Evaluation Providers occasion with out utilizing Home windows Authentication? You’re proper! I’m saying you may join straight from your individual Excel to a distant SSAS server with out utilizing home windows authentication. Properly, technically there isn’t a SQL Server Authentication mode out there for Evaluation Providers. So what does that really imply once I say “with out utilizing home windows authentication”? Should you’re enthusiastic about discovering the reply maintain studying this text.

Situation:

You’re working as a BI guide, you’ve been advised {that a} consumer must have some easy studies on Excel as follows:

·         It is best to hook up with the consumer’s server utilizing a supplied VPN connection

·         The VPN connection may very well be established by means of a Home windows VPN, Cisco VPN and many others. so the VPN consumer or the port and protocol used don’t truly matter

·         Microsoft Excel is NOT put in on the consumer’s server

·         You’re NOT allowed to put in Excel on the server

·         As it’s a pricey course of the consumer won’t setup a digital machine of their community so to remotely hook up with it and set up Excel then hook up with their SQL Server/Evaluation Providers situations

·         There is no such thing as a belief relationship between your community and the consumer’s community, so your area consumer title and password couldn’t be authenticated on the consumer’s community

·         The consumer must have some studies on Excel on high of a SQL Server database and OLAP cubes on Evaluation Providers (SSAS)

·         You have got the proper to run an utility as administrator on the distant server

·         You want to hook up with the distant server straight from your individual Microsoft Excel put in in your machine

·         The consumer additionally supplied a distant desktop entry to the server

·         On the distant desktop SQL Server Administration Studio (SSMS) is put in

·         Within the distant SQL Server your account is a member of the “securityadmin” server position so you may create a brand new SQL Server Login

The VPN connection may very well be different from consumer to consumer. Some use Cisco VPN connection, some use Home windows VPN, Fortinet VPN and so forth. Truly it doesn’t matter in any respect which VPN Shopper you’re going to make use of. What issues is you could hook up with the consumer’s community utilizing the VPN connection supplied.

·         Open command immediate in your machine and ping the consumer’s server to be sure to can see the server out of your machine

clip_image002[4]

·         Connect with the server utilizing distant desktop. Use the consumer title and password the consumer supplied

·         To hook up with the distant SQL Server occasion from your individual Excel:

a.       Open SSMS on the distant desktop and hook up with the SQL Server occasion

b.      Verify the SQL Server authentication mode. To take action, proper click on on the server and click on properties. Then choose the “Safety” web page. In my pattern the server authentication is already set to combined mode.

c.       If the server authentication is about to “Home windows Authentication mode” then click on on “SQL Server and Home windows Authentication mode” and click on OK

clip_image004[4]

d.      As you see SSMS says it’s essential restart SQL Server to all configuration modifications take impact. Click on OK

clip_image006[4]

e.      Ensure you are allowed to restart the server. Particularly for those who’re doing this in TEST or PRODUCTION servers. Restart SQL Server by proper clicking on the server and click on “Restart”

clip_image008[4]

f.        In SSMS develop the server, develop “Safety”, proper click on on “Logins” then click on on “New Login”

g.       Configure the brand new login as under

clip_image010[4]

 

clip_image012[4]

h.      Up to now we created a SQL Server use login. We’ll use this consumer login after we wish to hook up with the distant server from our personal machine.

i.         Open Microsoft Excel by yourself machine

j.        Choose “From SQL Server” from the ribbon

clip_image014[4]

ok.       Enter the distant server title. Click on “Use the next Person Identify and Password” then click on Subsequent

clip_image016[4]

l.         Choose the database from the dropdown listing. Then choose the desk it’s essential create the report on and click on subsequent then click on end on the following web page.

m.    Now you may create the report by yourself Excel pointing to a distant server on the consumer’s community.

·         To hook up with the distant Evaluation Providers occasion from your individual Excel:

a.       Open “Management Panel” and click on on “Person Accounts” to attempt to create a brand new “Native” consumer account. Clearly, you don’t have entry rights to create a “Area” account.

b.      Should you couldn’t create a “Native” consumer by means of the “Person Accounts” UI, then open CMD as administrator. Kind the under command, put a selected consumer title and password as you need and press enter:

 

internet consumer <YOUR USER NAME HERE> <PASSWORD HERE> /add

 

c.       After urgent enter, if CMD says “The command accomplished efficiently.” then you definitely’re good to go.

clip_image018[4]

d.      The above command creates a brand new consumer account with the password you typed on the native machine. The consumer entry stage for the brand new consumer can be “Normal consumer”. You may test this from “Person Accounts” in Management Panel.

clip_image020[4]

e.      If CMD says “Entry is denied.” then it’s essential contact the consumer’s system admin asking for create a neighborhood consumer with “Normal consumer” stage of entry. You’ll want this consumer to be mapped on an SSAS position accessing the OLAP database that you simply’re going to create the report on high of it.

f.        Open SSMS and hook up with the corresponding Evaluation Providers occasion and develop “Databases”, develop the corresponding OLAP database and proper click on on the “Position” and click on “New Position”

g.       From Common web page, enter a reputation like “Reporting” for the position then tick the “Learn definition”

clip_image022[4]

h.      Choose “Membership” web page then add the brand new native consumer you created. In our pattern it’s “Take a look at”

clip_image024[4]

i.         Choose “Cubes” web page and choose “Learn” entry to for the dice(s), then click on OK.

clip_image026[4]

j.        Now we’re achieved with the distant desktop, so now you can logoff

ok.       Open Excel from your individual machine and click on “From Evaluation Providers” from “From Different Sources” from “DATA” ribbon

clip_image027[4]

l.         Enter the distant server named adopted by the SSAS occasion title

m.    Click on on “Use the next Person Identify and Password”

n.      Enter that new home windows native consumer you created within the distant machine on step “C”

clip_image028[4]

o.      Click on “Subsequent”

p.      Choose the dice or every other views you want from the listing and click on “Subsequent”

clip_image029[4]

q.      Click on “End”

r.        Now you may create any studies you wanted

clip_image031[4]

Mission achieved, take pleasure in it!

UPDATE: I’m requested about safety considerations utilized to the above answer, so I’d like to lift some vital factors:

  1. Safety is very vital and the above answer may very well be used if there’s:

    • no area belief relationship between your community and the opposite occasion so to hook up with their community utilizing your area credentials

    • no VM (or an actual server field) on the consumer’s having Excel so to hook up with a database and create requested studies

  2. It is best to go for the above answer solely after getting your consumer’s approval. In any other case, your consumer will in all probability blame you for creating SQL Server OR native Home windows consumer accounts

  3. The above answer ought to be a TEMPORARY answer for a brief time frame so to ship some Excel studies to your consumer rapidly with out loading any additional prices in your consumer’s shoulder

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments