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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
android1
Post Patron
Post Patron

Return results that are in 1 table but not in 2 others.

Hi,

 

I'm really struggling with this.

 

Off Sick & Not Paid =
CALCULATE (
    DISTINCTCOUNT ( Vw_Absence[CarerRef] ),
    NOT ( ( 'Vw_Absence'[CarerRef] IN VALUES ( 'vw_PivotWagesHrs'[CarerRef] ) ) )
)

 

Above measure  shows all people who are in table Vw_Absence but not in vw_PivotWagesHrs.

 

What I need to show are the people who are not in table Vw_Absence & not in table vw_PivotWagesHrs

but are in table Carerslist.

I'd like this filtered by WEEKNUM in the MyDateTable.

 

See sample file -> https://www.dropbox.com/s/e2a99fy0kw11ip7/Carer%20Attrition%20Sample%202.pbix?dl=0

 

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi android1,

 

Modify you measure like this and check if it can work:

Off Sick & not paid modified =
CALCULATE (
    DISTINCTCOUNT ( 'CarersList'[CarerRef] ),
    NOT ( 'CarersList'[CarerRef] IN VALUES ( 'vw_PivotWagesHrs'[CarerRef] ) ),
    NOT ( 'CarersList'[CarerRef] IN VALUES ( 'Vw_Absence'[CarerRef] ) )
)

Regards,

Jimmy Tao

View solution in original post

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

Hi android1,

 

Modify you measure like this and check if it can work:

Off Sick & not paid modified =
CALCULATE (
    DISTINCTCOUNT ( 'CarersList'[CarerRef] ),
    NOT ( 'CarersList'[CarerRef] IN VALUES ( 'vw_PivotWagesHrs'[CarerRef] ) ),
    NOT ( 'CarersList'[CarerRef] IN VALUES ( 'Vw_Absence'[CarerRef] ) )
)

Regards,

Jimmy Tao

Hi @v-yuta-msft,

 

Thank you very much.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors