Looking Cubes Remotely from Excel

Date:


Technically while you join to a different community via 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. Nevertheless, I’m explaining this half for a few of you guys that is likely to be new to connecting from Excel on to a database on SQL Server and create flashy studies on Excel.

However, what about connecting instantly from Excel to a distant Evaluation Providers occasion with out utilizing Home windows Authentication? You’re proper! I’m saying you may join instantly 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 obtainable for Evaluation Providers. So what does that really imply after I say “with out utilizing home windows authentication”? When you’re curious about discovering the reply hold studying this text.

Situation:

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

·         You need to connect with the shopper’s server utilizing a supplied VPN connection

·         The VPN connection could possibly be established via a Home windows VPN, Cisco VPN and so on. so the VPN shopper or the port and protocol used don’t really matter

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

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

·         As it’s a pricey course of the shopper won’t setup a digital machine of their community to be able to remotely connect with it and set up Excel then connect with their SQL Server/Evaluation Providers cases

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

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

·         You’ve got the suitable to run an utility as administrator on the distant server

·         It’s worthwhile to connect with the distant server instantly from your individual Microsoft Excel put in in your machine

·         The shopper 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 diversified from shopper to shopper. 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 that you could connect with the shopper’s community utilizing the VPN connection supplied.

·         Open command immediate in your machine and ping the shopper’s server to be sure you 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 shopper supplied

·         To hook up 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 combined mode.

c.       If the server authentication is ready 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 good to restart SQL Server to all configuration modifications take impact. Click on OK

clip_image006[4]

e.      Be sure to are allowed to restart the server. Particularly in the event 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 increase the server, increase “Safety”, proper click on on “Logins” then click on on “New Login”

g.       Configure the brand new login as beneath

clip_image010[4]

 

clip_image012[4]

h.      Thus far we created a SQL Server use login. We’ll use this consumer login after we need 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 Identify and Password” then click on Subsequent

clip_image016[4]

l.         Choose the database from the dropdown record. Then choose the desk it’s good to create the report on and click on subsequent then click on end on the subsequent web page.

m.    Now you may create the report by yourself Excel pointing to a distant server on the shopper’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.      When you couldn’t create a “Native” consumer via the “Person Accounts” UI, then open CMD as administrator. Sort the beneath 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 definately’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’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 good to contact the shopper’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 connect with the corresponding Evaluation Providers occasion and increase “Databases”, increase 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 consumer you created. In our pattern it’s “Check”

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 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 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 answer, so I’d like to boost some necessary factors:

  1. Safety is very necessary and the above answer could possibly be used if there’s:

    • no area belief relationship between your community and the opposite occasion to be able to connect with their community utilizing your area credentials

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

  2. You need to go for the above answer solely after getting your shopper’s approval. In any other case, your shopper will most likely blame you for creating SQL Server OR native Home windows consumer accounts

  3. The above answer must be a TEMPORARY answer for a brief time period to be able to ship some Excel studies to your shopper shortly with out loading any further prices in your shopper’s shoulder

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Share post:

Subscribe

spot_imgspot_img

Popular

More like this
Related

Biophysical Breakdown and Local weather Tipping Factors

Earth’s life-support programs are failing.  Humanity is surpassing...

WP Engine Strengthens Management in Buyer Success With Appointment of New SVP

AUSTIN, Texas—January 29, 2026—WP Engine, a world net...

Payroll Outputs That Guarantee Accuracy & Compliance

 Payroll is extra than simply transferring salaries to...