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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
jereaallikko
Helper III
Helper III

Help With Blank Values Follow-up

Hi all,

 

I need help with DAX or custom column. I am following mandatory fields that my team needs to fill. So, if some field is missing, a table shows blank value on a cell. 

 

Basically, I would like a card visual to show number of blank values in a whole dataset containing around 20 columns. 

 

Sample data and table illustrated below:

 

jereaallikko_0-1619344578832.png

 

So, totally 15 cells are blank, and need to be filled. 

Additionally, I would like to create a visual that shows the number of blank values for each person.

Like:

 

James: 3

Jack: 1

Fernando: 3

Kate: 4

Robert: 4

 

Any suggestions how the problem could be solved? If more information is needed, don't hesitate to ask.

 

Thanks,

Jere Aallikko

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @jereaallikko 

You can take steps below for reference.

1. Go to Power Query Editor, you need to select all the columns, then

v-xiaotang_0-1619514438781.png

Get

v-xiaotang_1-1619514438796.png

2. Repeat the operation, and replace “List.NonNullCount” with “List.Count”

v-xiaotang_2-1619514438806.png

v-xiaotang_3-1619514438814.png

3. Add a custom column to get a diff, and change its type to Whole Number

v-xiaotang_4-1619514438822.png

4. Remove the two columns if you want

v-xiaotang_5-1619514438829.png

5. Create a measure

count = CALCULATE(SUM('Table'[Blank]),GROUPBY('Table','Table'[reporter]))

v-xiaotang_7-1619514644279.png

Hope it helps.

 

Best Regards,

Community Support Team _ Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xiaotang
Community Support
Community Support

Hi @jereaallikko 

You can take steps below for reference.

1. Go to Power Query Editor, you need to select all the columns, then

v-xiaotang_0-1619514438781.png

Get

v-xiaotang_1-1619514438796.png

2. Repeat the operation, and replace “List.NonNullCount” with “List.Count”

v-xiaotang_2-1619514438806.png

v-xiaotang_3-1619514438814.png

3. Add a custom column to get a diff, and change its type to Whole Number

v-xiaotang_4-1619514438822.png

4. Remove the two columns if you want

v-xiaotang_5-1619514438829.png

5. Create a measure

count = CALCULATE(SUM('Table'[Blank]),GROUPBY('Table','Table'[reporter]))

v-xiaotang_7-1619514644279.png

Hope it helps.

 

Best Regards,

Community Support Team _ Tang

If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

Fowmy
Super User
Super User

@jereaallikko 

You can add custom column using dax to the the table as follows:

Number of Blanks = 
COUNTROWS(
 FILTER( {TABLE02[ID], TABLE02[Amount], TABLE02[Created], TABLE02[Status], TABLE02[Department] , 
 TABLE02[Product]}, [Value] = BLANK() )
)

 

Insert a card visual and include the newly created column, Use a Table visual to include Reporter Name and the new column to show by name.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors