I have a column that is either null or has a value.
What I want is for 'm' to scan the entire column and replace null values with the preceding value.
My Code is this:
= Table.ReplaceValue(#"Added Custom3",each
[MyIndex],each if [MyIndex] = null then
(RawData1[MyIndex]{[Index]-1}) else [MyIndex],Replacer.ReplaceValue,{"MyIndex"} )
But it's not updating, and I don't know why. I'm assuming 'm' updates rows sequentially.
Solved! Go to Solution.
In the formula bar, type:
= Table.FillDown(#"Added Custom3", {"MyIndex"})
--Nate
In the formula bar, type:
= Table.FillDown(#"Added Custom3", {"MyIndex"})
--Nate
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!
At the monthly call, connect with other leaders and find out how community makes your experience even better.
User | Count |
---|---|
132 | |
20 | |
19 | |
14 | |
13 |
User | Count |
---|---|
156 | |
33 | |
32 | |
23 | |
18 |