set_show_items_no_data
Toggle showing items with no data for a field in a visual, so empty categories like months with zero sales still appear. Updates the visual's showAll flag.
Instructions
Toggle 'Show items with no data' for one field in a visual: categories with no rows still appear (e.g. all months even with zero sales). The field must already be projected on the visual. Writes the projection's showAll flag.
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": {
"reportSessionId": "<reportSessionId>",
"page": "<page>",
"visual": "<visual>",
"table": "<table>",
"field": "<field>"
},
"name": "set_show_items_no_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | page name or displayName | |
| show | No | true = show items with no data | |
| field | Yes | the field | |
| table | Yes | table that owns the field | |
| visual | Yes | visual name (from list_visuals) | |
| reportSessionId | Yes |