Prepstellar

PL-300 · Get or connect to data

20 cards

Data Source and Semantic Model Connections

Swipe, scroll or use ← →
  1. Identify the source you need

    The first connection decision is not how to load, but what kind of repository holds the required data. Power BI can obtain data from repositories that differ in structure and connection requirements, so the connector must match the source.

    Source family Examples What to recognize
    Files Excel workbooks, comma-separated value (CSV) files, delimited text, fixed-width, XML Power BI opens a file or a file location.
    Relational databases SQL Server in the cloud or on-premises The connection identifies a database server and database.
    Applications and online services Services exposed through their corresponding connectors The connector and requested service details depend on the application.
    NoSQL databases Azure Cosmos DB Data can arrive as nested JSON documents rather than relational tables.
    Semantic models A model published to a Power BI workspace; Azure Analysis Services Report authors reuse an analytical model rather than starting with raw source data.

    The durable rule is simple: identify the repository first, then choose its connector.

    1 / 20
  2. Identify the source you need

    Azure Cosmos DB is a NoSQL store that can contain JSON documents. Because JSON is often nested or unstructured, its records may need to be expanded and normalized before they are useful for analysis.

    For example, a shipping application can store one JSON document per shipment in Cosmos DB. After connecting, Navigator may show records rather than a ready-made grid. Opening the data in Power Query lets the author expand the record fields and turn them into rows and columns that can relate to other model data.

    This makes the source categories meaningfully different:

    • SQL Server is the relational database source.
    • Excel is a file source.
    • Azure Analysis Services supplies tabular semantic models.
    • Azure Cosmos DB is the NoSQL JSON-document store.
    2 / 20
  3. Quick check

    A shipping application stores nested JSON documents that must be expanded before analysis. Which source family and example fit?

    1. AA NoSQL source such as Azure Cosmos DB

      Right. Azure Cosmos DB is the documented NoSQL store, and its JSON documents may require expansion and normalization.

    2. BA relational source such as SQL Server

      SQL Server is relational and exposes database tables; it is not the documented JSON-document store.

    3. CA semantic-model source such as Azure Analysis Services

      Azure Analysis Services hosts tabular semantic models with existing calculations, not the scenario's NoSQL JSON documents.

    3 / 20

  4. Start the connection with the matching connector

    In Power BI Desktop, the command that begins a connection to a new source is Get data. Select the connector that matches the repository, then supply the location or service details that connector requests. The workflow adapts to the source rather than treating everything as a generic file or database.

    Source Connector input
    Local Excel workbook Find and open the file.
    SQL Server Enter the server name and database name.
    Online application Select its corresponding connector, provide the requested service location, and authenticate.
    Analysis Services Enter the server address and database name.

    After those details are accepted, Power BI can authenticate and expose the source objects. Navigator is not the command that starts a new connection: it appears after Power BI has connected successfully.

    4 / 20
  5. Start the connection with the matching connector

    A connection can also require authentication. The documented SQL Server sign-in choices are Windows, Database, and Microsoft account.

    These are credential choices, not loading or modeling commands:

    Choice or action Role in the workflow
    Windows SQL Server sign-in option
    Database SQL Server sign-in option
    Microsoft account SQL Server sign-in option, often used for Azure services
    Import / Connect live Connectivity choices for Analysis Services
    Navigator Object preview and selection after connection
    Transform Data Opens Power Query for preparation

    Keeping these stages separate prevents a common mistake: a sign-in method authenticates access, while a connector locates the source and a later action decides what to do with its data.

    5 / 20
  6. Quick check

    You are connecting Power BI Desktop to SQL Server for the first time. Which sequence is correct?

    1. AOpen Navigator, choose Connect live as the credential, then enter a file path

      Navigator appears after connection, and Connect live is a connectivity choice for Analysis Services rather than a SQL Server credential.

    2. BGet data, choose SQL Server, enter server and database names, then use Windows, Database, or Microsoft account credentials

      Right. Get data starts the connection, SQL Server requires server and database details, and the three documented sign-in choices are Windows, Database, and Microsoft account.

    3. CChoose Transform Data, select Import as the credential, then browse to an Excel workbook

      Transform Data is a preparation action, Import is a connectivity mode rather than a credential, and an Excel path does not identify SQL Server.

    6 / 20

  7. Inspect before you load

    After Power BI connects to a file or database, the Navigator window shows the available data. Navigator lets you preview and select the tables or entities to bring into Power BI before loading them.

    The preview is a verification step. Select a table or entity and inspect its contents to confirm that it is the intended data; then select the check boxes for the objects the model actually needs. Navigator does not change a moved file's path, reset connection permissions, or move calculations from an external semantic model.

    A practical sequence is:

    1. Connect to the source.
    2. Use Navigator to inspect the available objects.
    3. Select the required tables or entities.
    4. Choose Load or Transform Data.

    That last decision depends on whether the selected data is already fit for the model.

    7 / 20
  8. Inspect before you load

    Choose Load to place the selected data into the Power BI model in its current state. Choose Transform Data when the selected data needs review, cleaning, or reshaping in Power Query before loading.

    Situation Choose Result
    The selected table is ready as it stands Load Loads it directly into the model.
    Rows or columns must be removed, errors handled, or shapes changed Transform Data Opens Power Query before the model load.
    Nested Cosmos DB records must become columns Transform Data Allows the JSON records to be expanded and normalized.

    Server details and credentials are supplied while establishing the connection; they are not reasons to choose Transform Data in Navigator. Likewise, Analysis Services Import versus Connect live is selected in that source's connection flow, not by using Transform Data.

    8 / 20
  9. Quick check

    Navigator shows the correct table, but it contains unnecessary columns and nested records. What should you do?

    1. ASelect the table and choose Load

      Load places the table into the model in its current state, leaving the required preparation undone.

    2. BChange the server credentials in Navigator

      Navigator previews and selects objects; credential changes belong to connection settings and do not prepare the table.

    3. CSelect the table and choose Transform Data

      Right. Transform Data opens Power Query so the columns can be reviewed and the nested records reshaped before loading.

    9 / 20

  10. Keep your progress in the app

    That’s 3 of 7 quick checks. In the app they stay answered, and every lesson remembers where you left off.

  11. Choose a file location with refresh behavior in mind

    The same Excel workbook behaves differently depending on how Power BI reaches it. For a local Excel file, Power BI creates a new semantic model and loads the file data into it, but changes to the original file are not reflected automatically. A local import therefore suits data that does not change frequently.

    A OneDrive for Business connection is designed to keep the file and related Power BI content synchronized when changes are found. The related content can include the semantic model, reports, and dashboards. This cloud-based path is preferable when the workbook continues to change and the Power BI content should follow those changes.

    Location Relationship after connection
    Local file Data is loaded into a new model; later source-file changes are not reflected automatically.
    OneDrive for Business Power BI checks for changes and keeps the file and related content synchronized.
    10 / 20
  12. Choose a file location with refresh behavior in mind

    A file can also move while a report is still being developed. If a source file moves during development, open Data source settings in Power Query, select the file, choose Change Source, and update the file path.

    Changing the address is safe only when the replacement remains structurally compatible. The replacement file must keep the same structure because deleted or renamed source columns can break the reporting model.

    Suppose Employees.xlsx moves from a desktop folder to a project folder while keeping the same worksheets and columns. Update its path through Change Source. Do not rebuild it as an Analysis Services connection, use Navigator to rename model columns, or retain the obsolete path.

    11 / 20
  13. Quick check

    An Excel source moves to a new folder during development, but its structure is unchanged. What is the safe response?

    1. AUse Data source settings, choose Change Source, and update the path

      Right. Change Source updates the file connection, and the unchanged structure protects dependent query and model logic.

    2. BUse Navigator to rename all existing model columns

      Navigator selects source objects and does not provide the documented path-change workflow; renaming columns could create structural breaks.

    3. CChoose Analysis Services in Get data and enter the workbook name as a database

      Analysis Services expects a semantic-model server and database, not the path of a moved Excel workbook.

    12 / 20

  14. Reuse a published semantic model

    A semantic model is a queryable data resource optimized for analytics. Unlike a raw file or database table, a model can already contain tables, relationships, and calculations that report authors consume.

    Once a Power BI model is published to a workspace in the Power BI service, it becomes a source for visualizations in reports and dashboards. This allows a governed analytical design to be used more than once instead of every author recreating its relationships and calculations.

    The model and the presentation remain distinct:

    Asset Purpose
    Raw file or database Supplies source data that may still need preparation and modeling.
    Published semantic model Supplies queryable, modeled data to reports and dashboards.
    Report visualization Displays results obtained from the model.
    13 / 20
  15. Reuse a published semantic model

    Once it has been published to a workspace, another report author can use the semantic model as a reusable source for report visualizations. A model created and published by another team is therefore the reusable source to choose when its maintained tables, relationships, and calculations are needed.

    That source is not any of the connection machinery around it:

    • A SQL Server credential authenticates access; it does not package analytical calculations.
    • A Navigator selection is a temporary choice of source objects; it is not a shared analytical asset.
    • A local file path locates raw data; it does not provide another team's maintained model logic.

    Reuse is the key distinction. Report authors can build new reports from a shared model without treating its existing calculations as raw fields that must be rebuilt.

    14 / 20
  16. Quick check

    Another team already maintains the tables, relationships, and calculations needed for a new report. What should the report author reuse?

    1. AThe team's SQL Server authentication choice

      An authentication choice only establishes identity for a connection; it does not contain reusable model logic.

    2. BThe team's Navigator preview selection

      Navigator is a selection window shown during connection, not an analytical asset that another author can build from.

    3. CThe team's published semantic model

      Right. A published semantic model is a reusable analytical source that can supply its modeled data and calculations to another report author.

    15 / 20

  17. Connect to Azure Analysis Services

    Azure Analysis Services provides enterprise-grade tabular semantic models. Such a model can already hold data from multiple sources, relationships, metrics, security, and DAX calculations in one trusted analytical layer.

    To connect from Power BI Desktop, use Get data, select Analysis Services, enter the server address and database name, and choose either Import or Connect live.

    Mode Where the analytical content resides
    Import Data is brought into Power BI.
    Connect live Data and DAX calculations stay in Azure Analysis Services.

    With Connect live, both the data and DAX calculations remain in Azure Analysis Services instead of being imported into Power BI. This centralizes the semantic modeling and calculations in the upstream model while Power BI provides the report experience.

    16 / 20
  18. Connect to Azure Analysis Services

    The refresh behavior follows that ownership. When the Azure Analysis Services model refreshes, a live-connected Power BI report receives the refreshed results without its own Power BI refresh schedule.

    This is why Connect live fits a team that wants reports to use an Azure Analysis Services model and reflect its refreshes without importing another copy. Import would bring data into Power BI and would not provide this documented live-refresh behavior.

    Do not confuse the source with unrelated workflows. An Analysis Services model is not a local Excel file to load through a file path, and it does not need to be converted into JSON records. JSON expansion belongs to nested NoSQL data; Analysis Services already supplies a tabular semantic model.

    17 / 20
  19. Quick check

    Reports must use an Azure Analysis Services model and reflect its refreshes without a separate Power BI refresh schedule. Which connection fits?

    1. AImport the Analysis Services data into Power BI

      Import brings data into Power BI and does not provide the documented live-refresh behavior required by the scenario.

    2. BConnect live to the Analysis Services model

      Right. Connect live leaves data and DAX calculations in Azure Analysis Services, and model refreshes flow through to the report without a separate Power BI refresh schedule.

    3. CLoad the model as a local Excel source

      An Analysis Services semantic model is not an Excel file, so the local-file workflow cannot create this live connection.

    18 / 20

  20. Key takeaways

    • Match Get data to the repository: files, relational databases, applications and online services, NoSQL stores, and semantic models require source-appropriate connectors and details.
    • Recognize the stages: Get data starts the connection, credentials authenticate it, Navigator previews and selects objects, Load accepts the current state, and Transform Data opens Power Query for preparation.
    • Treat file location as part of the design: local Excel changes are not reflected automatically, OneDrive for Business supports synchronization, and a moved file is repaired through Data source settings → Change Source without altering its structure.
    • Reuse modeled assets: a published semantic model can supply existing tables, relationships, and calculations to reports and dashboards created by other authors.
    • Choose Connect live for upstream ownership: Azure Analysis Services retains its data and DAX calculations, and its refreshes reach live-connected reports without a separate Power BI refresh schedule.
    19 / 20
  21. Quick check

    Which summary correctly separates connection, preparation, and reuse?

    1. ANavigator starts every new connection, Load cleans nested JSON, and credentials supply reusable calculations

      Navigator follows a successful connection, Load does not clean or reshape data, and credentials authenticate rather than supply calculations.

    2. BChange Source selects SQL authentication, Connect live imports DAX into Power BI, and a local path acts as a shared semantic model

      Change Source updates connection details, Connect live keeps DAX upstream rather than importing it, and a local path identifies a file rather than a shared model.

    3. CGet data selects the connector, Transform Data prepares selected objects, and a published semantic model can be reused by other report authors

      Right. These are the distinct roles of Get data, Transform Data, and a published semantic model.

    20 / 20

  22. 7 quick checks · then the test

    In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.

The whole course, on your phone

Lessons you can read, audio you can listen to on the way to work, and practice that remembers what you got wrong.