Power BI サービスで Excel ファイルからレポートを作成する

適用対象: Power BI Desktop Power BI サービス

Power BI のレポートを読んで、次は自分のレポートを作成しようと思われるでしょう。 レポートを作成するには、さまざまな方法があります。 この記事では、まず、Excel ファイルから Power BI サービスに基本的なレポートを作成します。 レポートの作成の基本を理解したら、「関連するコンテンツ」でその他の記事を確認してください。

前提条件

Excel ファイルをインポートする

この方法でのレポート作成は、ファイルと空白のレポート キャンバスから始まります。 先に進むには、小売りの分析のサンプル Excel ファイルをダウンロードし、それを自分のコンピューターか職場用または学校用 OneDrive に保存します。

  1. ナビゲーション ペインで、 [マイ ワークスペース] を選択します。 次に、[新規]>[セマンティック モデル] を選択します。

    Screenshot of the Power BI service, highlighting New and Semantic model.

  2. Excel を選択します。

    Screenshot of the Add data to get started dialog, highlighting Excel.

  3. [このデバイスを参照する] を選択します。 Retail Analysis Sample を保存した場所に移動してから、[開く] を選択します。

    Screenshot of Select a file dialog, highlighting the Retail Analysis Sample.

    インポートされた Excel ファイルは、ワークスペースの一覧にセマンティック モデルとして表示されます。

  4. セマンティック モデルの横にある [その他のオプション (...)] を選択してから、[レポートの作成] を選択します。

    Screenshot of My workspace, highlighting more options and Create report.

  5. レポート エディターが開きます。

    Screenshot of the Power BI service report editor.

ヒント

ナビゲーション ウィンドウを非表示にするメニュー アイコンを選択すると、スペースが増えます。

Screenshot highlighting the Hide the navigation pane icon.

レポートに放射状ゲージを追加する

セマンティック モデルがインポートされたので、質問への回答を始めましょう。 最高マーケティング責任者 (CMO) は、会社が今年の売上目標にどれだけ近づいているかを知りたいと考えています。 Power BI レポートの視覚エフェクトを使用してこの種類の情報を表示するための視覚エフェクトの選択肢として、ゲージがどのように適しているかについて説明します。

  1. [データ] ペインで、[Sales]>[This Year Sales]>[Total Sales Variance] を選択します。

    Screenshot of the report editor, highlighting the Data pane, Sales, This Year Sales, and Value.

  2. [視覚化] ウィンドウからゲージ テンプレート アイコン を選択して、視覚エフェクトをゲージに変換します。

    Screenshot of the visual and the Visualizations pane, highlighting the Gauge template icon.

  3. \[Sales] \(売上)>\[This Year Sales] \(今年の売上)>[目標][目標値] にドラッグします。 目標に近づいているようです。

    Screenshot of the Visualizations and Data panes, highlighting Target value and Goal.

  4. ここでレポートを保存することをお勧めします。

    Screenshot highlighting the Save this report option.

面グラフとスライサーをレポートに追加する

他にも CMO より回答を求められている質問があります。 昨年と比較して、今年の売上がどうであるかを知りたいと考えています。 また、地区ごとの結果を確認したいということです。

  1. まず、キャンバスに空き領域を作りましょう。 ゲージを選択し、右上隅に移動します。 次に、四隅のいずれかをつかんでドラッグし、サイズを小さくします。

  2. ゲージの選択を解除します。 [データ] ペインで、[Sales]>[This Year Sales]>[Value] を選択し、[Sales]>[Last Year Sales] を選択します。

    Screenshot of the visualization with Last Year Sales and Value selected in the Data pane.

  3. 面グラフのテンプレート [視覚化] ウィンドウから選んで、ビジュアルを面グラフに変換します。

  4. [Time]>[Period] を選択して、それを [X 軸] に追加します。

    Screenshot of the Visualizations pane, highlighting Period in the X axis.

  5. 視覚化を期間で並べ替えるには、省略記号を選んで、[Sort by Period](期間別に並べ替え) を選びます。

  6. 次にスライサーを追加しましょう。 キャンバスの空いている領域を選んで、スライサー テンプレートを選びます。 これで、キャンバスに空のスライサーが作成されました。

    Screenshot showing an empty slicer on the canvas.

  7. [データ] ペインで、[District]>[District] を選択します。 スライサーを移動し、サイズを変更します。

    Screenshot of the slicer, highlighting District in the Visualizations pane.

  8. スライサーを使用して地区ごとのパターンや洞察を探します。

    Animation showing the results of different selections with the slicer.

データの調査と視覚エフェクトの追加を続けます。 特に関心のある分析情報が見つかったら、「レポートから Power BI ダッシュボードを作成する」を参照して、それらをダッシュボードにピン留めする方法を確認してください。