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 nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. 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. 😀]
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 40 | |
| 31 | |
| 18 | |
| 18 | |
| 15 |