Dynamically column name in a query

@Emmanuelle_S that checkbox is under each individual resource settings. Edit a resource and you will see at the bottom.