Forum Discussion
anshpalash
4 years agoHelper II
Data Cleaning
Hi, I have a dataset in the form. 1 null Start: 7:20 null null Duration: 3 null End:10 1 null null null null null null null 1 null null null null null null null ...
- 4 years ago
You can this step to your query.
= Table.FromRows( List.RemoveNulls( List.Transform(Table.ToRows(PriorStepName), each let l=List.RemoveNulls(_) in if List.Count(l)>1 then l else null) ), {"ID","Start","Duration","End"} )Result
Syndicate_Admin
4 years agoAdministrator
You can this step to your query.
= Table.FromRows( List.RemoveNulls( List.Transform(Table.ToRows(PriorStepName), each let l=List.RemoveNulls(_) in if List.Count(l)>1 then l else null) ), {"ID","Start","Duration","End"} )Result
anshpalash
4 years agoHelper II
Thank you so much!