0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Power Query: JSON OData - @で始まる Property に対するエスケープシーケンス(識別子へのエスケープシーケンス)

Last updated at Posted at 2022-01-31

背景

API の結果取得する際に、@ 付きのデータでちょっと躓いたので備忘録

こんな感じのやつを、Power Query でどう取得したらいいか?って話
image.png

結論

分かってしまえば簡単で、「識別子」としてのエスケープシーケンスとして、quoted-identifier: を使うだけでした。
image.png

利用例

こんな感じ

context = source[#"@odata.context"]
count = source[#"@odata.count"]
nextlink = source[#"@odata.nextLink"]

あとがき

これを利用して、Teams の Messages を取得して、Reactions 解析をしたいな、と

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?