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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
steambucky
Helper III
Helper III

A measure OR calculated column to work our how man cells have no data

My project involves me working out poor our data is,  We would like to work out how much info has not being entered. We then want express this as percentage per row 

 

Example data:

 

Animal - Name - Cost - Date

Dog      Danny    $50  - 1/1/2018     =  0%    Empty

Dog        null      $50     null              =  50 % Empty

Dog        null      null     null              =  75%  Empty

 

I have played around with caluclated feilds and measures doing simple things but NOTHING like this.

 

All I can think is something like a variable -  like If Animal =null then Row Empty = +1,  and then repeat something like this for each cell. From the Row empty value i could write a foumula to convert it into a percentage easily enough but I am stumped on everything before that.   

 

Any ideas, pointers, or simple examples would be most welcome.

 

 

1 ACCEPTED SOLUTION
Ormesome
Helper II
Helper II

I'd create a column

_HowManyAreBlank= IF(ISBLANK([ANIMAL]), 1, 0) + IF(ISBLANK([NAME]), 1, 0) + IF(ISBLANK([COST]), 1, 0) + IF(ISBLANK([DATE]), 1, 0)

 

This would allow you to create a measure that works for rows, groups, and filters.

 

View solution in original post

1 REPLY 1
Ormesome
Helper II
Helper II

I'd create a column

_HowManyAreBlank= IF(ISBLANK([ANIMAL]), 1, 0) + IF(ISBLANK([NAME]), 1, 0) + IF(ISBLANK([COST]), 1, 0) + IF(ISBLANK([DATE]), 1, 0)

 

This would allow you to create a measure that works for rows, groups, and filters.

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.