Generate CSV based on User Roles

I am wanting to pull all the drivers out of the User’s table with their relevant info via a CSV file. Currently we know they’re a driver from a boolean being checked in the User’s table, how would I go about only pulling only the drivers info into a CSV file?

Create a Query column that targets your Users table, and use that boolean column as a filter. Then use the Query column as the source of the CSV.