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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Count of Blank values in a text field is wrong

Hi,

 

I have a csv file with about 21,000 rows and there is a text column called application names which has 15486 blank rows when i check in excel, but in my measure for CountBlank i.e. = COUNTBLANK('Projects_All'[Application Names]) i am getting a value of 6338. Also i checked in the visual filters and that shows the same value. But i dont get why its not detecting the remaining blank rows?

 

Thanks in advance 🙂

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi everyone,

 

It was my bad, there was a date filter set at page level which was affecting the count, Also i choose to use lEN rather than checking for blank rows.

 

Thanks for all your replies 🙂

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi everyone,

 

It was my bad, there was a date filter set at page level which was affecting the count, Also i choose to use lEN rather than checking for blank rows.

 

Thanks for all your replies 🙂

v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Please try this measure to see whether it returns correct number.

BlankRows = 
CALCULATE ( COUNTROWS ( Projects_All ), Projects_All[Application Names] = BLANK () )

 

Did you apply any filter to data records? And please check are there some rows missing after loading to desktop.

 

As I could not reproduce your problem, if possible, please share your .pbix file.

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
BILASolution
Solution Specialist
Solution Specialist

Hi @Anonymous

 

Try this...

 

CountBlank i.e. = CALCULATE(COUNTBLANK('Projects_All'[Application Names]);ALL('Projects_All'))

Regards

BILASolution

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.