Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.