Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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. 😀]
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 33 | |
| 29 |
| User | Count |
|---|---|
| 134 | |
| 96 | |
| 78 | |
| 67 | |
| 65 |