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

View all the Fabric Data Days sessions on demand. View schedule

Reply
BPTBPTBPT
Helper II
Helper II

Show only values that are a present in another table

Hello,

 

I have a source table with projects. I edited the query in a manner that there are 232 projects left.

I have a second table with projects, but not all are yet entered in this second table. My goal is to see the difference and so see which ones are missing.

 

The problem though is that this second table gives 471 projects. I guess it is listing also all other projects that are not in the source. I don't need to see those.

 

BPTBPTBPT_0-1657626425371.png

What I need to see instead of 471, is the amount of projects that is in source 2, that is also in 1. This would be about 130.

How to achieve this?

 

By the way, this is the relation:

BPTBPTBPT_1-1657626592819.png

Where the top table is the source.

 

Thanks in advance!

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@BPTBPTBPT , if there is a relation, just try a measure like

 

Calculate(countrows(Table1), not(isblank(Table2[Column])) )

 

Also check

https://www.sqlbi.com/articles/propagate-filters-using-treatas-in-dax/

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

BPTBPTBPT
Helper II
Helper II

This was the solution. Thanks!

View solution in original post

2 REPLIES 2
BPTBPTBPT
Helper II
Helper II

This was the solution. Thanks!

amitchandak
Super User
Super User

@BPTBPTBPT , if there is a relation, just try a measure like

 

Calculate(countrows(Table1), not(isblank(Table2[Column])) )

 

Also check

https://www.sqlbi.com/articles/propagate-filters-using-treatas-in-dax/

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

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!

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
Top Kudoed Authors