# Use user\_attributes as Canvas Dashboard Filter Defaults

**URL:** <https://community.holistics.io/t/use-user-attributes-as-canvas-dashboard-filter-defaults/2551>\
**Category:** Feature Suggestions\
**Tags:** canvas-dashboard, filters, ux\
**Created:** [September 19, 2025, 3:07pm UTC](https://community.holistics.io/t/use-user-attributes-as-canvas-dashboard-filter-defaults/2551 "2025-09-19T15:07:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stonematt](https://community.holistics.io/letter_avatar_proxy/v4/letter/s/bc79bd/32.png) [@stonematt](https://community.holistics.io/u/stonematt)\
**Post date:** [September 19, 2025, 3:07pm UTC](https://community.holistics.io/t/use-user-attributes-as-canvas-dashboard-filter-defaults/2551/1 "2025-09-19T15:07:58Z")

</div>

# Use user\_attributes as Canvas Dashboard Filter Defaults

## **Summary**

Enable dashboard filters to accept user\_attributes as their default values. This would allow dashboards to open with personalized, user-aware defaults (e.g., “my team”), eliminating the need for duplicated dashboards or manual resets each time.

## Example

```auto
@template(
  title = "My Coordinator Pair Filter",
  description = "Reusable coordinator filter block",
)
Func coordinator_team_filter() {
  FilterBlock {
    label: "Coordinator Pair"
    type: "field"
    source: FieldFilterSource {
      dataset: stack_examiner_timing
      field: ref("team_data", "coordinator")
    }
    default { operator: "is", value: H.current_user.coordinator_team }
  }
}

```

## Benefits

- Makes dashboards **automagical** : users see the data they care about right out of the gate.
- Enhances **scalability** : one dashboard can serve many roles or teams without duplication.
- Reduces **maintenance overhead** : eliminates the need to manage multiple dashboards or hardcoded defaults.

## Reference

> [@Default a canvas dashboard filter to user\_attribute value](https://community2.holistics.io/t/default-a-canvas-dashboard-filter-to-user-attribute-value/2533):
>
> I have a dashboard that filter teams by coordinators. When a coordinator opens the dashboard, I want it to default to “my teams”. I’m trying to do it w/ user attributes like this (these filters are reusable library blocks that show up on a collection of dashboards): User-Aware Filter Definition @template( title = "My Coordinator Pair Filter", description = "Reusable coordinator filter block", ) Func coordinator\_team\_filter() { FilterBlock { label: "Coordinator Pair" type: "field…
