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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
Anonymous
Not applicable

Identifying missing data

Good Morning

 

I need some help please with identifying where there is missing data in a table.

 

Example of the data is 

 

LearnerApplilcationCourse
101/01/2022A1
101/01/2022B1
201/01/2022B1
301/01/2022A2
301/01/2022B2


All learners should have a course beginning with an A, i need to idenitfy from the data the ones that dont.

So in the example above it would identify learner 2.

The applications will differ from those in the table.

 

Thank you for your help.

 

1 ACCEPTED SOLUTION
Mikelytics
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

Please try the following:

 

Base Table

Mikelytics_0-1670320321578.png

Mikelytics_1-1670320378124.png

Create a new Meausre

Mikelytics_3-1670320753848.png

 

CourseWithA = 
var var_numberOfCoursesWithA =
    SUMX(
        FactTable,
        IF(LEFT(FactTable[Course],1) ="A",1,0)
    )

RETURN
IF(var_numberOfCoursesWithA>0,1,0)

 

put learner and the measure into a visual

Mikelytics_4-1670320800796.png

you can also use the measure as a filter

Mikelytics_5-1670320841855.png

 

Best regards

Michael

-----------------------------------------------------

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your thumbs up!

@ me in replies or I'll lose your thread.

-----------------------------------------------------

LinkedIn

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thank you

Mikelytics
Resident Rockstar
Resident Rockstar

Hi @Anonymous 

 

Please try the following:

 

Base Table

Mikelytics_0-1670320321578.png

Mikelytics_1-1670320378124.png

Create a new Meausre

Mikelytics_3-1670320753848.png

 

CourseWithA = 
var var_numberOfCoursesWithA =
    SUMX(
        FactTable,
        IF(LEFT(FactTable[Course],1) ="A",1,0)
    )

RETURN
IF(var_numberOfCoursesWithA>0,1,0)

 

put learner and the measure into a visual

Mikelytics_4-1670320800796.png

you can also use the measure as a filter

Mikelytics_5-1670320841855.png

 

Best regards

Michael

-----------------------------------------------------

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Appreciate your thumbs up!

@ me in replies or I'll lose your thread.

-----------------------------------------------------

LinkedIn

 

 

------------------------------------------------------------------
Visit my blog datenhungrig which I recently started with content about business intelligence and Power BI in German and English or follow me on LinkedIn!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.