2
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?

Power Autoamte で SharePoint リストの参照列でフィルターする

Last updated at Posted at 2025-12-03

SharePoint リストでは、こんな感じで他のリストを参照することができます。厳密にはリレーションシップではありませんが、データベースのリレーションシップ的な感じです。

image.png

image.png

入力する際は、以下のようにして参照しているリストの列から選ぶことができます。

image.png

この参照列便利ですが、例えば、Power Automate で、参照元の ID で参照先をフィルターして情報を取得する際、ちょっと癖があるため、情報を整理しておきます。

結論から言うと、参照先をフィルターする際、以下のようなフィルター式を書きます。

列名Id eq 1

実際にやってみます。

image.png

image.png

列名英語の場合は、列の設定を開き、URL の Field= の後をコピーして、「OData_」とつなげます。

image.png

なお、最初、列名/Value でやってみましたが(一応生成 AI もそのように答えていましたが)、以下のエラーが発生しました。そのため、列名Id でフィルターするのが正しそうです。

image.png

あと、後から気づいたのですが、列名だけでも一応動作しました。

image.png

以下はどちらも同じ参照先の ID の数値を指しているようです。
列名Id (今回のケースでは列名自体に ID という文字を含んでいますが) の方が、参照 (LookUp) 列の ID を見てることを分かりやすいかもしれません。

OData__x65e5__x7a0b_ID   eq 1
OData__x65e5__x7a0b_IDId eq 1
2
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
2
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?