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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Iceberg12
Frequent Visitor

Need help to find missing Data

Hello everyone, 

I am new to PowerBI and I need your help with the following:

I have a table like this

ComponentMissing
Ayes
Ayes
Bno
Cno
Cno
Dyes

 

I would like to have a table which show the missing components only as the following:

ComponentsCount of missing 
A2
D1


This table should be blank, if there is no component missing.

Thank you for your help and support.
Best regards,




 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Iceberg12 ,

Please try below steps:

1. below is my test table

Table:

vbinbinyumsft_0-1706510530533.png

 

2. create a measure with below dax formula

Count Of Missing =
VAR cur_component =
    SELECTEDVALUE ( 'Table'[Component] )
VAR tmp =
    FILTER ( ALL ( 'Table' ), [Component] = cur_component && [Missing] = "yes" )
RETURN
    COUNTROWS ( tmp )

3. add a table visual with field and measure

vbinbinyumsft_1-1706510561763.png

 

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
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

4 REPLIES 4
Iceberg12
Frequent Visitor

Thank you all for your kind support 🙂

Anonymous
Not applicable

Hi @Iceberg12 ,

Please try below steps:

1. below is my test table

Table:

vbinbinyumsft_0-1706510530533.png

 

2. create a measure with below dax formula

Count Of Missing =
VAR cur_component =
    SELECTEDVALUE ( 'Table'[Component] )
VAR tmp =
    FILTER ( ALL ( 'Table' ), [Component] = cur_component && [Missing] = "yes" )
RETURN
    COUNTROWS ( tmp )

3. add a table visual with field and measure

vbinbinyumsft_1-1706510561763.png

 

Please refer the attached .pbix file.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

bcdobbs
Community Champion
Community Champion

I'd create a Compnents table with distinct list of components (use distinct function in power query).

 

Relate it to the missing table.

 

Then write a measure:

 

CountMissing =
CALCULATE (

COUNTROWS (MissingTable),

MissingTable[Missing] = "yes"

)

 

If you use that in a matrix it will only show values when there is a count.



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!
Daniel29195
Super User
Super User

@Iceberg12 

 

Daniel29195_0-1706301543566.png

 

step 1 : create a table visual

step 2 : drag and drop into the visual the column "  Component " 

 

step 3 : in the filter pane, drag to the section , filter on this visual , --> Missing 

 

step 4 : set your filter =  yes

 

this should work ..

 

 

 

If my response has successfully addressed your issue kindly consider marking it as the accepted solution! This will help others find it quickly. I would appreciate hitting that kudos button 👍🤠

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

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.

March Power BI Update Carousel

Power BI Community Update - March 2026

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