Forum Discussion
Counting null date entries
Hi, I need to create a new card that displays the number of blank entries in a column. I can do this when the value is shown as 0 in the Power Query Editor, but I need to count blank date entries which appear as 'null'.
Basically, I want to count the number of 'null' date entries in a column.
- Anonymous3 years ago
Hi TonyPearce1963 ,
You can use the following code to count the number of null date entries in a column in Power Query:
= Table.RowCount(Table.SelectRows(#"Previous Step", each [Column Name] = null))Or just add a custom column to dispaly the number.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- PunithursFrequent VisitorHi TonyPearce1963 ,Create a measureBlankDates = COUNTBLANK(FactTable[Paid date])Hope you are looking for this.
This should work.Thanks,Punith - AnonymousNot applicable
Hi TonyPearce1963 ,
You can use the following code to count the number of null date entries in a column in Power Query:
= Table.RowCount(Table.SelectRows(#"Previous Step", each [Column Name] = null))Or just add a custom column to dispaly the number.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.