cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Prodigy
Post Prodigy

How to count cells that are 1) blank, 2) empty, 3) only include one or more empty chars like SPACE?

Hello

 

How to count cells that are 1) blank or 2) empty or 3) only include one or more empty chars like SPACE and TAB?

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: How to count cells that are 1) blank, 2) empty, 3) only include one or more empty chars like SPA

@UsePowerBI , remove the empty space using trim or text.trim in M

 

Countrows(filter(Table,isblank(table[column])))

 

calculate(Countrows(table),filter(Table,isblank(table[column])))



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
Highlighted
Super User IV
Super User IV

Re: How to count cells that are 1) blank, 2) empty, 3) only include one or more empty chars like SPA

@UsePowerBI , remove the empty space using trim or text.trim in M

 

Countrows(filter(Table,isblank(table[column])))

 

calculate(Countrows(table),filter(Table,isblank(table[column])))



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Power BI Desktop August 2020 Update

Power BI Desktop August 2020 Update

We have great updates this month! Click the link for the video with more info.

Top Solution Authors
Top Kudoed Authors