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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
JulianaMacedo
Helper II
Helper II

Missing Field.Ignore

Hi! I'm trying to use this Missing Field Ignore in a step I created, but I'm getting an error and I couldn't figure out why.
The data is basically a table with a column with numbers as strings like this one:

100100000000000000000000000000000000000

Which are split in columns for every each 8 digits and then this is what I'm trying to apply:

The whole thing is working, he only thing is that when the column has null values then it gives an error.
 

 

=Table.TransformColumns(#"Split Column by Position", List.Transform(#"List of Columns to Create", each {_, each Text.PositionOfAny(Text.Reverse(Text.Range(_,0,Text.Length(_))),{"1"},8) }), MissingField.Ignore)

 This is the error:

Expression.Error: We cannot convert the value 1 to type Function. Details: Value=1 Type=[Type]​

Any ideas why and how to solve it?


 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @JulianaMacedo ,

 

You may use try and otherwise syntax:

Error handling - Power Query | Microsoft Docs

 

 

Best Regards,
Eyelyn Qin

View solution in original post

4 REPLIES 4
jennratten
Super User
Super User

Hello - please try this...

 

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjQwACKCQClWJ1oprzQnB8wgoEkpNhYA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t]),
    Source1 = Table.ReplaceValue(Source,"null",null,Replacer.ReplaceValue,{"Column1"}),
    // replace this list with your list of column names
    #"List of Columns to Create" = {"Column1.1", "Column1.2", "Column1.3", "Column1.4", "Column1.5"},
    #"Split Column by Position" = Table.SplitColumn(Source1, "Column1", Splitter.SplitTextByRepeatedLengths(8), #"List of Columns to Create")
in
    #"Split Column by Position"

 

jennratten_0-1655725116548.png

 

Hi! Thanks for your contribution, I actually tried the other suggest solution first and it seems to be working fine, so I haven't tried yours, but it also seems like it would be a suitable solution.

Anonymous
Not applicable

Hi @JulianaMacedo ,

 

You may use try and otherwise syntax:

Error handling - Power Query | Microsoft Docs

 

 

Best Regards,
Eyelyn Qin

Thanks a lot! I didn't know there was a try clause in power bi, it did work!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.