set_table_detail_rows
Define the default detail rows for a table in Power BI via a DAX expression, controlling the rows returned on drill-through when per-measure detail rows are not set.
Instructions
Set a TABLE's default detail rows (Table.DefaultDetailRowsDefinition) - the DAX table returned when a user drills into a value of this table that has no per-measure detail rows. Distinct from the measure-level set_detail_rows. daxTableExpression is a DAX table expression.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"table": "<table>",
"daxTableExpression": "<daxTableExpression>"
},
"name": "set_table_detail_rows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| sessionId | Yes | ||
| daxTableExpression | Yes | DAX table expression returning the detail rows |