Home Business Intelligence Looking Cubes Remotely from Excel

Looking Cubes Remotely from Excel

0
Looking Cubes Remotely from Excel

[ad_1]

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

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

State of affairs:

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

·         It’s best to connect with the consumer’s server utilizing a supplied VPN connection

·         The VPN connection could possibly be established by a Home windows VPN, Cisco VPN and so forth. 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 is not going to setup a digital machine of their community with the intention to remotely connect with it and set up Excel then connect with their SQL Server/Evaluation Providers cases

·         There isn’t any belief relationship between your community and the consumer’s community, so your area person title and password couldn’t be authenticated on the consumer’s community

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

·         You might have the fitting to run an utility as administrator on the distant server

·         It is advisable to connect with the distant server immediately 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 could possibly be diverse 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 Consumer you’re going to make use of. What issues is which you could connect 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]

·         Hook up with the server utilizing distant desktop. Use the person title and password the consumer supplied

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

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

b.      Test 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 blended 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 adjustments take impact. Click on OK

clip_image006[4]

e.      Be sure to are allowed to restart the server. Particularly in case you’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 broaden the server, broaden “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.      To this point we created a SQL Server use login. We’ll use this person login after we wish to connect 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 Title and Password” then click on Subsequent

clip_image016[4]

l.         Choose the database from the dropdown record. 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 connect 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” person account. Clearly, you don’t have entry rights to create a “Area” account.

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

 

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

 

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

clip_image018[4]

d.      The above command creates a brand new person account with the password you typed on the native machine. The person entry degree for the brand new person could be “Normal person”. You’ll be able to verify 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 person with “Normal person” degree of entry. You’ll want this person to be mapped on an SSAS position accessing the OLAP database that you simply’re going to create the report on prime of it.

f.        Open SSMS and connect with the corresponding Evaluation Providers occasion and broaden “Databases”, broaden the corresponding OLAP database and proper click on on the “Function” and click on “New Function”

g.       From Basic 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 person 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 carried out 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 Title and Password”

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

clip_image028[4]

o.      Click on “Subsequent”

p.      Choose the dice or another views you want from the record 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 issues utilized to the above resolution, so I’d like to boost some necessary factors:

  1. Safety is extremely necessary and the above resolution could possibly be used if there may be:

    • no area belief relationship between your community and the opposite get together with the intention to connect with their community utilizing your area credentials

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

  2. It’s best to go for the above resolution 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 person accounts

  3. The above resolution must be a TEMPORARY resolution for a brief time period with the intention to ship some Excel studies to your consumer rapidly with out loading any additional prices in your consumer’s shoulder

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here