Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I was wondering if there was a way to update data in a column such that a null value in a cell would take on the preceeding value until a non null value was reached at which point that value would be used to replce the next null value. The data I have comes from a speadsheet, only has a maximum of 50 rows and its format can't be changed... I was wondering if a custom function would work? Sadly I cant use Python. Thanks.
| Original Data | Desired Data |
| A | A |
| null | A |
| null | A |
| B | B |
| null | B |
| null | B |
| null | B |
| C | C |
| D | D |
| Null | D |
Solved! Go to Solution.
@Matt_P , You have the option to fill down or up in Power Query (Transform data)
https://www.excelcampus.com/powerquery/fill-down-blank-null-cells-power-query/
So simple - Thanks!
@Matt_P , You have the option to fill down or up in Power Query (Transform data)
https://www.excelcampus.com/powerquery/fill-down-blank-null-cells-power-query/
Thanks. [rfigtree just beat you with a response. 😀]
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 39 | |
| 29 | |
| 24 |