Excelワークブックファイルからデータを取得する – Power BI

Microsoft Excelはビジネスアプリケーションの一つで、Power BIの一般的なデータソースです。Power BIはExcel 2007以降の.workbookのインポートや接続をサポートしますが、旧機能は2023年9月29日以降に利用できなくなります。例えば、ローカルWorkbookのアップロードやスケジュールされた更新ができなくなります。既存のWorkbookからのデータダウンロードやOneDrive/SharePointからのインポートは可能です。データモデルや外部データソースとの接続もサポートされています。Excelのデータ型を設定して、Power BIでの体験を向上させることができます。

Power BIとExcelの連携

Microsoft Excelは、ビジネスアプリケーションの中で最も広く使用されている製品の一つであり、Power BIにとっても一般的なデータソースとなっています。この記事では、Power BIがサポートするExcelワークブックの形式や接続方法、データのインポート方法について紹介します。

サポートされるワークブック

Power BIは、Excel 2007以降に作成されたワークブックのインポートまたは接続をサポートしています。この記事で説明する一部の機能は、Excelの最新版のみで利用可能です。ワークブックは、.xlsxまたは.xlsm形式で、1GB未満である必要があります。

重要

2023年9月29日以降、以下の機能は使用できなくなります:

  • ローカルワークブックをPower BIワークスペースにアップロードすることが禁止されます。
  • スケジュールされた更新や即時更新を設定することができなくなります。

2023年10月31日以降、以下の機能も使用できなくなります:

  • 既存のExcelファイルに対するスケジュールされた更新および即時更新の設定。
  • Power BIでローカルワークブックを開くことができなくなります。

その後の変更

2023年10月31日以降:

  • Power BIワークスペースからローカルワークブックをダウンロードできます。
  • ExcelデータモデルをPower BIのセマンティックモデルとして公開し、更新スケジュールを設定できます。
  • OneDriveやSharePointのドキュメントライブラリからExcelワークブックをインポートし、Power BIで視覚化できます。

データ範囲やテーブルを持つワークブック

シンプルなワークシートを含むワークブックの場合、データ範囲をテーブルとしてフォーマットすると、Power BIでデータをより効果的に活用できます。Power BIでレポートを作成するとき、テーブルと列の名前が「テーブル」ペインに表示され、データの視覚化が容易になります。

データモデルを持つワークブック

Excelワークブックには、1つまたは複数のデータテーブルがリンクテーブル、Power Query、Excelの「データの取得と変換」、またはPower Pivotを介して読み込まれるデータモデルを含めることができます。Power BIは、関係性、メジャー、階層、KPIなど、すべてのデータモデルのプロパティをサポートしています。

外部データソースへの接続を持つワークブック

Excelワークブックが外部データソースに接続している場合、Power BIでワークブックを開くことで、その接続ソースからのデータを基にレポートやダッシュボードを作成できます。また、スケジュールされた更新を設定して、データソースに自動的に接続し、更新を取得することも可能です。

ピボットテーブルとチャートを持つワークブック

ピボットテーブルやチャートがPower BIにどのように表示されるかは、ワークブックファイルを保存する場所や、そのファイルをPower BIに取り込む方法によって異なります。

データのインポートまたはアップロード

ExcelデータをPower BIで探索するには、アップロードまたはインポートの2つの方法があります。ワークブックをアップロードすると、Power BIでExcel Onlineと同じように表示され、ワークシートの要素をダッシュボードにピン留めするための便利な機能も提供されます。

Power BIへのアップロード

「アップロード」ボタンを使用してPower BIサービスにファイルをアップロードできます。「OneDrive」や「SharePoint」を通じてファイルを接続することができる他、コンピュータから直接ファイルをアップロードすることも可能です。

ExcelデータをPower BIにインポートする

Power BIにExcelデータをインポートするには、マイワークスペースで「新しい項目」>「セマンティックモデル」>「Excel」を選択し、ファイルを見つけます。インポートされたデータは、新しいPower BIセマンティックモデルに取り込まれます。

まとめ

Power BIとExcelの組み合わせは、データ分析と視覚化の強力なツールを提供します。また、ExcelのデータモデルをPower BIに移行することで、最新の分析機能や更新の管理が可能となります。各種の機能が利用可能なのかを確認し、効果的にデータを活用していきましょう。

————-

Get data from Excel workbook files – Power BI

Source link

The article discusses the integration of Microsoft Excel with Power BI, highlighting key features, supported workbook types, and upcoming changes that impact usage.

Key Points:

  1. Supported Workbooks: Power BI supports Excel workbooks created in 2007 and later, with file types .xlsx or .xlsm, and a maximum size of 1 GB.

  2. Deprecation Notices: Several capabilities related to local Excel workbooks are being deprecated:

    • As of September 29, 2023:
      • Upload of local workbooks to Power BI workspaces.
      • Configuration of scheduling for refresh operations on non-scheduled workbooks.
    • As of October 31, 2023:
      • Scheduled refresh for existing configurations will be disabled.
      • Local workbooks will no longer open in Power BI.
  3. Data Handling:

    • Workbooks should have data formatted as tables for better functionality in Power BI.
    • The article emphasizes the compatibility of Excel data models containing various tables and the importance of relationships and KPIs.
  4. Connecting External Data: Users can create reports based on external data connections established in Excel, with options to set automatic refresh schedules.

  5. Data Types: Power BI supports various data types, including numbers, currency, dates, and text, which helps improve the reporting experience.

  6. Data Upload and Import: Users can upload and import Excel data into Power BI through different methods:

    • Uploading connects directly to the file in OneDrive or SharePoint.
    • Importing creates a new semantic model in Power BI.
  7. Location of Workbook Files: The storage location of Excel workbooks affects how they are handled in Power BI. Files stored locally can be imported, but cannot be edited within Power BI.

  8. Future Steps for Migration: Users with local workbooks need to migrate to OneDrive or SharePoint to maintain scheduled refresh capabilities. This includes using Power BI Desktop for model upgrades.

  9. Troubleshooting: The article mentions common issues like file size limitations and restrictions regarding connections to on-premises SQL Server Analysis Services.

  10. APIs and Admin Tools: Administrators can use the Power BI Admin REST API to enumerate and manage Excel workbooks within their organization.

Overall, the article serves as a comprehensive guide for users working with Excel in Power BI, particularly in light of significant upcoming changes and the best practices to adapt to them effectively.

関連記事

コメント

この記事へのコメントはありません。