Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

"?" in M syntax

Can somebody explain the meaning / function of the "?" in the statement below?   = Table.SelectRows(Source, each [Attributes]?[Hidden]? <> true)
  • Jimmy801's avatar
    6 years ago

    Hello Anonymous 

     

    is a kinda of error handling. When a column, record or list access isn't existing you normally get an error whereas you get the value null if you add the "?"

     

    Hope that helps

     

    Jimmy