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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

build report for records not found in related table

I have two tables.  Table one has records 1 thru 10.  Table 2 has records 2,5,7,8,9.  I want to build a report that includes only records not found in Table 2 (1,3,4,6,10).  

How can this be done?

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Anonymous ,

new table = except(all(Table1[Col1]), all(Table2[Col1]))


new measure = countx(except(all(Table1[Col1]), all(Table2[Col1])),[Col1])

View solution in original post

Anonymous
Not applicable

"Except"  was the way to go!  Created the table exactly as I needed.

View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@Anonymous ,

new table = except(all(Table1[Col1]), all(Table2[Col1]))


new measure = countx(except(all(Table1[Col1]), all(Table2[Col1])),[Col1])

Anonymous
Not applicable

"Except"  was the way to go!  Created the table exactly as I needed.

Anonymous
Not applicable

should be very easy! Filter on visual and unselect those values

 

Anonymous
Not applicable

There are thousands of records in each table, too many individual ones to filter.

Anonymous
Not applicable

also can use dax possibly

Month Select = CALCULATE(IF(ISCROSSFILTERED(Toronto_PCL_F20),1,0),ALLSELECTED(Toronto_PCL_F20)) something similar to cross filtered and all selected?

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.