Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
Hi, can someone explain what ? does in m code, I know ?? can coalesce a null ot a vlalue so ;
= List.Accumulate( {1..10}, {} , (s,c)=>
s & { ( List.Last(s)?? 0 ) + c } )but i'm not sure what ? actually does, i been trying to come up with somthing where i use ? and get
differenct result from not useing iit, so i presume null or erorr.
Richard.
Solved! Go to Solution.
It returns null instead of an error message when referencing a missing record field, list item, or column.
Examine the code below and see how the results change from null to error if you remove the `?` from the relevant records:
[Source=Table.FromColumns({{1,2,3}},type table[Column1=Int64.Type]),
x=Source[Column2]?,
y=Table.Column(Source,"Column1"){3}?]
It returns null instead of an error message when referencing a missing record field, list item, or column.
Examine the code below and see how the results change from null to error if you remove the `?` from the relevant records:
[Source=Table.FromColumns({{1,2,3}},type table[Column1=Int64.Type]),
x=Source[Column2]?,
y=Table.Column(Source,"Column1"){3}?]
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.