class_docstr: A dimension that is passed in through the where filter parameter.
class_docstr_tok: ["A","dimension","that","is","passed","in","through","the","where","filter","parameter","."]
docstr: Set the sort order for order-by.
docstr_tok: ["Set","the","sort","order","for","order-by","."]
code: def descending(self, _is_descending: bool) -> QueryInterfaceDimension:
      """Set the sort order for order-by."""
      raise InvalidQuerySyntax(
          "descending is invalid in the where parameter"
      )
  
imports: from __future__ import annotations
  import logging
  from typing import Optional, Sequence, Union
  from dbt_semantic_interfaces.call_parameter_sets import DimensionCallParameterSet, TimeDimensionCallParameterSet
  from dbt_semantic_interfaces.naming.dundered import DunderedNameFormatter
  from dbt_semantic_interfaces.protocols.protocol_hint import ProtocolHint
  from dbt_semantic_interfaces.protocols.query_interface import QueryInterfaceDimension, QueryInterfaceDimensionFactory
  from dbt_semantic_interfaces.references import DimensionReference, EntityReference, TimeDimensionReference
  from dbt_semantic_interfaces.type_enums import TimeGranularity
  from dbt_semantic_interfaces.type_enums.date_part import DatePart
  from typing_extensions import override
  from metricflow.errors.errors import InvalidQuerySyntax
  from metricflow.query.group_by_item.filter_spec_resolution.filter_location import WhereFilterLocation
  from metricflow.query.group_by_item.filter_spec_resolution.filter_spec_lookup import FilterSpecResolutionLookUp, ResolvedSpecLookUpKey
  from metricflow.specs.column_assoc import ColumnAssociationResolver
  from metricflow.specs.rendered_spec_tracker import RenderedSpecTracker
label_desc: Use image node_id 5 for calling the WhereFilterDimension obj's underlying member method code with example usage: obj.descending(_is_descending) without return types