Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
The following M code works, even though it should throw an error where I'm comparing a text value to a number. Everywhere else, it seems like M is very strict about types. Why is this allowed?
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WslCK1YlWsgSThgYQylApNhYA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Col = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"Col", Int64.Type}}),
#"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each [Col]+0, type text),
#"Filtered Rows" = Table.SelectRows(#"Added Custom", each [Custom] >= 10)
in
#"Filtered Rows"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.