Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
PBIDevNoob
Helper I
Helper I

What 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 removing it, and it didn't seem to make any difference. 

 
2 ACCEPTED SOLUTIONS
ImkeF
Community Champion
Community Champion

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).

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

View solution in original post

ImkeF
Community Champion
Community Champion

4 REPLIES 4
ImkeF
Community Champion
Community Champion

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).

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Oh. That's nifty. Does Ms have any documentation on this? I've been looking everywhere online.
ImkeF
Community Champion
Community Champion

Its in the language specs: https://docs.microsoft.com/en-us/powerquery-m/power-query-m-language-specification

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

You're a life saver. Thanks!

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors