Home > tyGraph Support Articles > Mixing tyGraph with Other Sources in Power BI

この記事をダウンロード
お知らせ: このページは現在英語のみで提供されています。日本語版は準備中です。ご不便をおかけして申し訳ございません。

Mixing tyGraph with Other Sources in Power BI

Each tyGraph model provides a focused and standardized view of your organization's data. In some cases, however, you may want to combine tyGraph data with another source. This article explains how to connect an existing tyGraph Power BI dataset to additional data sources.

Step 1: Prepare Power BI Desktop

Before you begin, make sure the following requirements are met:

  1. Start in Power BI Desktop and use at least the December 2020 release or later.

    image78

  2. The DirectQuery for Power BI datasets and Analysis Services feature was previously required. This capability is now generally available, so you can skip this step. For additional background, see Announcing general availability for composite models on Power BI Datasets and Analysis Services models | Microsoft Power BI Blog | Microsoft Power BI.

    image79

    image80

  3. Sign in with your Microsoft 365 account. This is required to connect to content in the Power BI service.

image81

Step 2: Choose Your Starting File

You can begin with a blank Power BI Desktop model if you want to build report layouts from scratch. If you want to extend the default tyGraph report experience, we recommend downloading a live-connected template for the product and layouts you plan to use. This preserves the default visuals and formatting so you do not need to recreate them manually.

image82

For example, if you want to add an extra user table to a tyGraph Pages dashboard, start with that product's template so you can add your custom data while preserving the existing look and feel.

Step 3: Connect the First Dataset

If you are using a template file, open it from your downloads. If you are starting from scratch, select Get data > Power BI datasets, then continue to Step 4.

image83

  1. Sign in to Power BI if you are not already signed in. You may be prompted to enter your email address.

  2. You may see an Unable to connect message. This is expected in this scenario.

  3. Click Edit.

  4. Search for and select the matching product dataset.

  5. Click Create and allow the report to refresh.

    image84

When this is complete, you should have a model that is live-connected to tyGraph data and ready for additional sources.

image85

Step 4: Add an Additional Data Source

You can now add your own data to the model.

  1. Click Get data at the top of Power BI Desktop and select the data source you want to add.

    image86

  2. After selecting the source, click Add a local model to confirm.

  3. The dataset will be converted to an Analysis Services model. You should see a confirmation message.

  4. Authenticate to the selected source. Common examples include Azure SQL attributes, Excel files, or another Power BI dataset.

  5. After authentication, click OK when the warning message appears.

    image87

Step 5: Model and Publish

After all sources are imported, you can build new model relationships on top of the combined data. At a minimum, this usually means creating relationships between the new tables and the tyGraph dataset. For user-related data, a join on Email or UPN is common.

  1. Open relationship view.

    image88

  2. Create the required relationships.

    image89

  3. Add new filters or pivots based on the added attributes.

    image90

  4. When you are finished, publish the report to the Power BI service. You may need to configure refresh settings for any sources that are not already managed within the service.

Summary

If you want to combine external data with tyGraph, composite models in Power BI are the recommended approach. This method keeps the primary data in the Power BI service, which supports a more secure, centrally managed, and maintainable deployment.