2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Power BIからCosmos DBのデータを見に行く

Last updated at Posted at 2025-08-09

Cosmos DBのデータもPower BIからならめちゃ簡単に見れました。
チュートリアルは公式にもありますが、キーの取得方法等が謎な部分がありましたので、メモとして残しておきます。結局はPower QueryなのでExcelでも同じ手法でいけるかとおもいます。

▼公式チュートリアル

image.png

コネクタの選択

Power BI Desktopからデータを取得の画面に遷移して、コネクタの中から「Azure Cosmos DB v1」を選択し、「接続」を押す
image.png

URIの取得

Cosmos DBの対象アカウントの「設定>キー」からキーの情報が表示されます。
URIをコピー(「Read-Only Keys」にして、キーはあとで利用します)
image.png

URIをURLへペースト

※データベースは入力しなくても後で選択できます
image.png

キーを入力

「Read-Only Keys」から、プライマリーキーをコピーして入力。
image.png

簡単に接続ができました!!

image.png

JSONを展開できれば完成です!
image.png

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?