March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
I'm really struggling with one column. I imported data through the API, and some rows have the value visible, while others can be seen as a Table. I know that the correct value is present in the Table. Is there simple way to go over it and make both values visible in new added column?
Thank You
Solved! Go to Solution.
Hello, @Ints. If table consists of single row and column the try this:
Table.AddColumn(
Source, "new_column_name",
(x) => try Table.FirstValue(x[data_column_name]) otherwise x[data_column_name]
)
I found my mistake and now its worked. Thank you very much!!
Yes, i m not using coding very often. I changed as you writed and now I have new error with Column name:
Thanky you for your answer. Seems that it may work, but there is error when record wasnt found. There are some null values too. Need to add something more?
I don't see how you may get an error with this code other than you don't know how to correctly incorporate it into yours. Replace data_column_name with SHVc.rows.row.SerialNr. Replace Source with the name of your last step.
Hello, @Ints. If table consists of single row and column the try this:
Table.AddColumn(
Source, "new_column_name",
(x) => try Table.FirstValue(x[data_column_name]) otherwise x[data_column_name]
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.