What Does XMLA Endpoints Imply for Energy BI and Learn how to Take a look at it for Free?

Date:


Test Environment from Power BI XMLA Endpoint

XMLA endpoint connectivity for public preview has been introduced late March 2019. As at in the present day, it is just accessible for Energy BI Premium capability customers. This feels like an enormous restriction to lots of people who don’t have a Premium capability, however they’d like to see the way it works. On this article I present you a simple strategy to get your palms to Energy BI XMLA endpoint as fast as attainable. Earlier than I begin, I’d like to easily clarify what XMLA endpoint is and what it actually means for Energy BI customers.

Typically talking, Energy BI has two completely different layers, presentation layer and knowledge mannequin layer. Presentation layer is the visible layer, the one you make all these compelling experiences and visualisations. The info mannequin because the identify resembles, is the layer that you simply make your knowledge mannequin in. This layer is the one you’ll be able to entry it by way of XMLA connectivity.

In a Energy BI Desktop file, you’ll be able to see each layers:

Different layers of Power BI

How XMLA Pertains to Totally different Layers in Energy BI?

As you will have already guessed, XMLA is simply associated to the info mannequin layer and it has nothing to do with the presentation layer. So it’s possible you’ll join to a knowledge mannequin, browse the info mannequin, import knowledge from the mannequin to different platforms like Excel and so forth.

Severely? Sure, severely. It isn’t new. It’s been round
for a few years and maybe you’ve already used it zillions of occasions. Each time
you’re connecting to an occasion of SQL Server Evaluation Providers, both
Multidimensional or Tabular from any instruments like SQL Server Administration Studio
(SSMS), Energy BI Report Builder, Excel, Tableau, and so on…, you’re utilizing XMLA
connectivity certainly.

Energy BI is an Occasion of SSAS Tabular

It’s true. Energy BI runs an area occasion of SSAS Tabular
mannequin. So, everytime you open a Energy BI Desktop file (PBIX), Energy BI creates a
native occasion of SSAS Tabular mannequin with a random native port quantity that may
be accessed in your native machine solely. Whenever you shut the file, the native
occasion of SSAS Tabular is shut down and its port quantity is launched.

I first revealed the truth that you’ll be able to hook up with the underlying knowledge mannequin in Energy BI Desktop from entire completely different vary of instruments like SSMS, SQL Server Profiler, Excel, and so on… on Jun 2016. So, we certainly have been utilizing XMLA to connect with Energy BI knowledge fashions for a very long time. We will even take a step additional to import our Energy BI knowledge fashions into an occasion of SSAS Tabular. In that sense, we are actually producing XMLA scripts from Energy BI to create the identical knowledge mannequin in SSAS Tabular. How cool is that?

Sooo… What’s new then?

Thus far, I solely talked about Energy BI Desktop, the report
authoring software put in on our native machine. What usually occurs after we
construct our report is that we publish these experiences into Energy BI Service. Proper?
You guessed it. The significance of XMLA endpoints is that it makes a
connectivity channel to all fashions revealed to Energy BI Service. That is
wonderful. Simply take into consideration the limitless prospects it could open for us. You may
now hook up with the info fashions revealed to Energy BI Service identical to you
usually hook up with an occasion of SSAS. You need to use SSMS (v18.0 RC1), DAX
Studio, Excel, Tabular Editor, Tableau, and so on… to connect with revealed knowledge
fashions to Energy BI Service.

Here’s a desk displaying how Energy BI sources map to SSAS Tabular occasion:

SSAS
Tabular
Energy BI Service Energy
BI Desktop
Server (Occasion) App Workspace Localhost:PORT_NUMBER (when a PBIX file is opened)
Databases Datasets A
Random database identify
Connections Connections Connections
Tables Tables Tables
Roles Roles Roles

Here’s a screenshot of SSMS related a Energy BI Service Workspace utilizing XMLA Endpoints, an area Energy BI Desktop file opened on my native machine and an occasion of SSAS Tabular.

SSMS Connected to Power BI Service  Through XMLA Endpoints

As talked about earlier, XMLA endpoints is obtainable in Energy
BI Premium Capability which is an enormous roadblock for lots of us who don’t have
entry to a Energy BI Premium capability. However the excellent news is that XMLA can be
accessible in Energy BI Embedded Capability. You could ask, so what? I additionally don’t
have entry to an Embedded capability. Properly, you fall in a single two classes beneath:

  • You’ve an MSDN
    subscription
  • You don’t have that one
    both

Both means, the excellent news is that you could create an Embedded
Capability in azure if you have already got an MSDN subscription. Should you don’t have
it, don’t fear, you’ll be able to get
a free trial subscription
.

Now let’s see how we will create a Energy BI Embedded
Capability.

Creating Energy BI Embedded Capability

Login to your Azure tenant
with the identical account as your Energy BI Service, then:

  • Click on “Create a useful resource”
  • Sort in “Energy BI” within the
    search field
  • Click on “Energy BI Embedded”
    from the listing
Power BI Embedded in Azure Portal
Creating Power BI Embedded Capacity in Azure Portal
Creating Power BI Embedded Capacity in Azure Portal

Notice that you choose A1 pricing tier in any other case it drains all of your credit score in a short time. It’s good to click on “View full pricing particulars” to have a greater thought on across the prices.

Power BI Embedded Pricing Tiers

As you see, even A1 pricing tier
is NOT low-cost in any respect. So, it’s possible you’ll contemplate pausing the capability when not used.

We’re nearly there, only one
extra step to take.

After you create your embedded capability there is only one little factor you want to do is to login to Energy BI Service and make
any desired workspace part of your embedded capability.

  • Click on “Workspaces”
  • Discover a desired Workspace
    and click on ellipsis button
  • Click on “Workspace settings”
Power BI Workspace Settings
  • Within the settings pane click on “Premium” tab
  • Swap “Devoted Capability” on
  • After you turn the devoted capability on you see a dropdown field that you could choose an accessible capability for the workspace
  • As you most likely observed the “Workspace Connection” is the one you’re after. You may copy the connection then click on “Save”
Power BI Workspace Connection

After you save the adjustments you instantly see that fabulous
diamond icon exhibits up on the Workspace.

Premium Workspace in Power BI Service

As you count on it’s very easy from right here.

Connecting to Energy BI Service from SQL Server Administration Studio (SSMS)

As acknowledged earlier you want to set up SSMS
v18.0 RC1
in any other case you get the next error:

“The connection string just isn’t legitimate. (Microsoft.AnalysisServices.AppLocal.AdomdClient)”

Error in SSMS when connecting to Power BI Service Premium Workspace
  • Open SSMS
  • From “Connect with Server”
    choose “Evaluation Providers” for Server Sort
  • Paste the Workspace
    Connection in “Server Title”
  • From “Authentication”
    dropdown choose “Home windows Authentication”
Connecting from SSMS to Power BI Premium XMLA endpoint
  • Choose/enter your Energy BI
    Service credentials
Microsoft Credential Check

Baaam!

Browsing Power BI Premium in SSMS with XMLA endpoint

Connecting to Energy BI Service from Excel

  • Open Excel
  • Click on Get Knowledge
  • From Database, click on “From
    Evaluation Providers”
Connecting to Power BI Premium from Excel with XMLA endpoint
  • Paste the Workspace
    Connection you copied earlier
  • Click on “Use the next
    Consumer Title and Password” then enter your credentials
  • Click on Subsequent
Connecting to Power BI Premium from Excel with XMLA endpoint
  • From dropdown listing choose a
    desired dataset then click on Subsequent
Browsing to Power BI Premium from Excel with XMLA endpoint

Right here you go!

Browsing to Power BI Premium from Excel with XMLA endpoint

Connecting to Energy BI Service from DAX Studio

  • Open DAX Studio
  • Choose “Tabular Server”
  • Paste the Workspace
    Connection
  • Click on Join
Connecting to Power BI Premium from DAX Studio with XMLA endpoint
  • Choose/enter your Energy BI Service
    credentials
Microsoft Login Credentials
Querying Power BI Premium from DAX Studio with XMLA endpoint

All completed!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Share post:

Subscribe

spot_imgspot_img

Popular

More like this
Related

3 Trendline Methods –

Trendlines might be nice buying and selling instruments...

Understanding Societal Inequality and its International Impression

Inequality is each a driver and a symptom...

All DE{CODE} Periods are Accessible On Demand

Right this moment marks the conclusion of WP...

Finest Kentucky Derby 2025 Outfit Concepts You Dont Wanna Miss Out

Fb Twitter LinkedIn WhatsAppAre...