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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
BPTBPTBPT
Helper I
Helper I

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/

 

View solution in original post

BPTBPTBPT
Helper I
Helper I

This was the solution. Thanks!

View solution in original post

2 REPLIES 2
BPTBPTBPT
Helper I
Helper I

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/

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.