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
Hi members.
My data source is a CSV with 4000 rows and one column is the DATE. For some rows the DATE is null because is related to the previous row. I would like to create a new field to have the correct DATE.
I used a recursive function that seems to work properly in the query editor, but when I apply the changes to the model, it starts loading data without stopping.
I created the following steps:
1) Load table TAB1
2) Add an index to TAB1
3) Duplicate TAB1 in TAB2
4) Create a custom recursive function that check the value of the current row, if null search the previous row. The function use TAB2
5) Invoke the custom function in a new column (TAB1 - FUN1)
Thanks for helping.
-------------------------
Table in query editor. Calculated column Fun1 seems correct
Recursive function
Solved! Go to Solution.
It sounds like Table.FillUp(table, "column") library function will do what you want.
Very good suggest.
It seems Table.FillUp work only with null value and sometimes I need to check other column but with some other steps I find a solution
It sounds like Table.FillUp(table, "column") library function will do what you want.
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.
User | Count |
---|---|
34 | |
30 | |
20 | |
19 | |
12 |