Hi All,
I have to search valid header row in table. For this I have to check first 10 rows of table.
I am finding total no of filled columns without nulls.
Table.ToColumns(Table.FirstN([Data],10)) //created a list. "Data" is a column name with "Tables" as objects in rows.
and l got list of, say 15, having last list have null values
So to remove that null list I used
List.RemoveNulls(Table.ToColumns(Table.FirstN([Data],10)))
Then I count the List by
List.Count(List.RemoveNulls(Table.ToColumns(Table.FirstN([Data],10))))
but i am getting the result as 15 only whereas 14 is expected. Can you please elaborate why it is happening.
Thanks,
I have to search valid header row in table. For this I have to check first 10 rows of table.
I am finding total no of filled columns without nulls.
Table.ToColumns(Table.FirstN([Data],10)) //created a list. "Data" is a column name with "Tables" as objects in rows.
and l got list of, say 15, having last list have null values
So to remove that null list I used
List.RemoveNulls(Table.ToColumns(Table.FirstN([Data],10)))
Then I count the List by
List.Count(List.RemoveNulls(Table.ToColumns(Table.FirstN([Data],10))))
but i am getting the result as 15 only whereas 14 is expected. Can you please elaborate why it is happening.
Thanks,