Report Filters Overview
Report filters define Power BI filter configurations that can be applied to reports. Filters target specific tables and columns with operators and values.List All Filters
Retrieve all available report filters.Authentication & Permissions
Valid session or Sanctum token
super-adminrolereport.filter.indexpermissionreport.filter.createpermissionreport.filter.updatepermissionreport.filter.destroypermission
Response
Array of all filter objects
Filter ID
Filter display name
Power BI table name
Power BI column name
Filter operator (In, NotIn, Equals, Contains, etc.)
Raw filter values (comma-separated for βInβ operator)
Parsed values (array for βInβ, string for others)
Creation timestamp
Example Request
Example Response
Create Filter
Create a new report filter.Request Body
Descriptive name for the filter
Power BI table name to filter
Power BI column name to filter
Filter operator
Filter values (comma-separated for βInβ operator)
Supported Operators
In- Match any value in list (values: βValue1,Value2,Value3β)NotIn- Exclude values in listEquals- Exact match (values: βSingleValueβ)Contains- Substring matchGreaterThan- Numeric comparisonLessThan- Numeric comparisonGreaterThanOrEqual- Numeric comparisonLessThanOrEqual- Numeric comparison
Example Request
Example Response
Returns array of all filters including the newly created one (200 status).Update Filter
Update an existing report filter.Path Parameters
Filter ID to update
Request Body
Same fields as create (all optional):Updated filter name
Updated table name
Updated column name
Updated operator
Updated values
Example Request
Response
Returns array of all filters with updates applied (200 status).Delete Filter
Delete a report filter.Path Parameters
Filter ID to delete
Example Request
Response
Returns array of remaining filters (200 status).Filter Application
Filters are applied to reports through the pivot tablepvt_report_user_filters:
Assign Filters to User Report
Filters are assigned per user-report combination. See User Management API for filter assignment.Power BI Filter Schema
When applied to a report, filters are converted to Power BI filter objects:Multiple Filters
Multiple filters are combined as an array:Error Responses
500 Internal Server Error
403 Forbidden
Implementation Notes
Source:app/Http/Controllers/ReportFilterController.php
Model
Source:app/Models/ReportFilter.php
Fillable fields:
name,table,column,operator,values
Parse Values Accessor
Theparse_values attribute automatically parses values:
- Operator = βInβ: Splits comma-separated string into array
- Other operators: Returns lowercase string