diff --git a/dbt_semantic_interfaces/parsing/where_filter/parameter_set_factory.py b/dbt_semantic_interfaces/parsing/where_filter/parameter_set_factory.py index d3eae49a..bbcfc722 100644 --- a/dbt_semantic_interfaces/parsing/where_filter/parameter_set_factory.py +++ b/dbt_semantic_interfaces/parsing/where_filter/parameter_set_factory.py @@ -66,7 +66,7 @@ def create_dimension(dimension_name: str, entity_path: Sequence[str] = ()) -> Di if is_metric_time_name(group_by_item_name.element_name): raise ParseWhereFilterException( f"{METRIC_TIME_ELEMENT_NAME} is a time dimension, so it should be referenced using " - f"TimeDimension(...)" + f"TimeDimension(...) or Dimension(...).grain(...)" ) if len(group_by_item_name.entity_links) != 1: