# Dashboard Filter Options Analysis

Verifies that dashboard filter options are compatible with source report fields. Use this resource to testAvailable in API version 40.0 and later.

## Syntax

**URI:** `/services/data/vXX.X/analytics/dashboards/dashboardID/filteroptionsanalysis`

**Formats:** JSON

**HTTP methods:** POST

**Authentication:** `Authorization: Bearer token`

## POST Request Body

<sfdocstbl><table>

<col>
</col>
<col>
</col>
<col>
</col>
<thead>
  <tr>
    <th>
      Property
    </th>
    <th>
      Type
    </th>
    <th>
      Description
    </th>
  </tr>
</thead>
<tbody>
  <tr>
    <td>
      <span>filterColumns</span>
    </td>
    <td>
      filterColumns[]
    </td>
    <td>
      An array of fields from the source report which you check filter values against. Each object in the array has these properties:
      <p>
        <strong>reportId:</strong>
        The the source report’s unique ID.
      </p>
      <p>
        <strong>name:</strong>
        The report field’s API name.
      </p>
    </td>
  </tr>
  <tr>
    <td>
      <span>options</span>
    </td>
    <td>
      options[]
    </td>
    <td>
      An array of objects describing a dashboard filter. Each object has these properties:
      <p>
        <strong>alias:</strong>
        The display name of the filter value.
      </p>
      <p>
        <strong>operation:</strong>
        The filter’s operator.
      </p>
      <p>
        <strong>value:</strong>
        The value applied by the filter.
      </p>
      <p>
        <strong>startValue:</strong>
        If the filter includes a range (such as a date range), the start of the range. Otherwise, null.
      </p>
      <p>
        <strong>endValue:</strong>
        If the filter includes a range (such as a date range), the end of the range. Otherwise, null.
      </p>
    </td>
  </tr>
</tbody>
</table></sfdocstbl>

## POST Response Body

If successful, returns an empty response.

## Example POST Request

```nolang
{
	"filterColumns" : [{
		"reportId": "00OR0000000P76tMAC",
		"name": "ACCOUNT_TYPE"
	}],
	"options": [{
		"alias": "New",
		"operation": "contains",
		"value": "New",
		"startValue": null,
		"endValue": null
	}]
}
```
