Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
TonyPearce1963
Regular Visitor

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. 

1 ACCEPTED SOLUTION
Anonymous
Not 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))

 

vstephenmsft_1-1689562422632.png

vstephenmsft_0-1689562408881.png

Or just add a custom column to dispaly the number.

vstephenmsft_2-1689562484147.png

 

                                                                                                                                                         

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.           

View solution in original post

2 REPLIES 2
Anonymous
Not 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))

 

vstephenmsft_1-1689562422632.png

vstephenmsft_0-1689562408881.png

Or just add a custom column to dispaly the number.

vstephenmsft_2-1689562484147.png

 

                                                                                                                                                         

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.           

Punithurs
Frequent Visitor

 
Create a measure 
BlankDates = COUNTBLANK(FactTable[Paid date])
Hope you are looking for this. 
This should work.

Thanks,
Punith

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.