Forum Discussion
PBIDevNoob
Helper I
6 years agoWhat does question marks after a fieldname mean ex: "record[field]?"
I've been trying to learn the the TripPin example by Microsoft and I noticed that there were times when they were adding question marks (?) after the fieldname. Is there any point to this? I've tried...
- 6 years ago
Hi PBIDevNoob ,
This prevents an error being risen if the field isn't included in your table.
Instead a null will be returned for the missing column(s).
- 6 years ago
Its in the language specs: https://docs.microsoft.com/en-us/powerquery-m/power-query-m-language-specification
PBIDevNoob
Helper I
6 years agoOh. That's nifty. Does Ms have any documentation on this? I've been looking everywhere online.
ImkeF
Community Champion
6 years agoIts in the language specs: https://docs.microsoft.com/en-us/powerquery-m/power-query-m-language-specification
- PBIDevNoob6 years ago
Helper I
You're a life saver. Thanks!