1
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 Automate Power BI レポートのファイルにエクスポートする設定方法

Last updated at Posted at 2025-08-21

アクション

image.png

元のAPI

使用されている API の詳細
エンドポイント:
POST https://api.powerbi.com/v1.0/myorg/reports/{reportId}/ExportTo

パラメータ

{
  "format": "PDF",
  "powerBIReportConfiguration": {
    "reportLevelFilters": [
      {
        "filter": "Store/Territory eq 'NC' and Store/Chain eq 'Fashions Direct'"
      }
    ]
  }
}

ReportLevelFilters 設定方法

Store/Territory eq 'NC' and Store/Chain eq 'Fashions Direct'
image.png

filter条件に、テーブル名や、カラム名が日本語、あるいは、スペースがある場合

例:?filter=テーブル/列 1 eq ‘A’
テーブル/列 1をUnicodeにする必要
修正後:?$filter=x30C6__x30D6__x30EB_/_x5217__x0020_1 eq 'A'

Chatgptのプロンプト:
「テーブル/列 1」中の日本語は全て、_x0020_のように変更して

注意事項

1.テーブル名とカラム名はかならず、内部名を使ってください。
2.内部名がわからない場合、PowerBI Desktopから確認してください。
3.テーブル名とカラム名の中に、空白がある場合、エンコードする必要があります。

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