set_column_data_category
Assign a data category to a column, like City or Latitude, so Power BI reports apply the appropriate special treatment.
Instructions
Set a column's data category so the report layer treats it specially, e.g. Address, City, Continent, Country, County, Latitude, Longitude, Place, PostalCode, StateOrProvince, WebUrl, ImageUrl, BarcodeText. (For format + category in one call use format_column.)
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>",
"column": "<column>",
"category": "<category>"
},
"name": "set_column_data_category"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| column | Yes | ||
| category | Yes | category, e.g. City | Latitude | WebUrl | ImageUrl | BarcodeText | |
| sessionId | Yes |