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
Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.
Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!
User | Count |
---|---|
147 | |
25 | |
22 | |
10 | |
9 |
User | Count |
---|---|
153 | |
42 | |
31 | |
18 | |
18 |