Forum Discussion

Max_WH's avatar
Max_WH
Helper I
1 year ago
Solved

RSCustomDaxFilter column name with square brackets

There is a table column  'Prod'[Product[Product Division Label]] in the data model I want to filter that column from the parameter @ProductProductDivisionLabel using the below, but error out during ...
  • v-echaithra's avatar
    v-echaithra
    1 year ago

    Hi Max_WH ,

    Thank you Aala_Ali  for the workaround suggestion.
    You're absolutely right to dig into escaping syntax, but unfortunately, RSCustomDaxFilter does not support escaping nested square brackets within column names. The parser expects a clean [Table].[Column] format, and any additional brackets inside the column name will break validation.
    Unlike DAX or M expressions where certain escape sequences might be allowed, RSCustomDaxFilter is a custom expression used in paginated reports and doesn’t offer a way to escape or quote complex column names. It treats square brackets as structural delimiters, not literal characters.

    Warm Regards,
    Chaithra E.