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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
JL475
New Member

Filtering a table with data from another table

Hello, I'm relative new on Power Bi. I've been looking for a way to filter a table with data from another table.

Example: 

Table A

BankAccountDate
A1

01/01/22

B2

01/02/22

A1

01/03/22

C1

01/01/22

B3

01/01/22

 

Table B

BankAccountStart DateFinish Date
A101/01/2231/01/22
B201/02/22

28/02/22

A101/03/22

31/01/22

 

Table A would be a ever increasing data table while Table B would be the "Filter table". I wanted to create a Table C using Table A data filtered by Table C data.

 

Note: I'm looking to create a Table but not as a Visualization, rather as a dataset Table.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @JL475 ,

 

Please check the formulas:

Table = 
var tableb = ALLEXCEPT('Table B','Table B'[Finish Date])
return
EXCEPT('Table A',tableb)

vjaywmsft_0-1657605255463.png

Or

Table = 
var tableb = ALLEXCEPT('Table B','Table B'[Finish Date])
return
EXCEPT('Table A',EXCEPT('Table A',tableb))

vjaywmsft_1-1657605296661.png

 

Best Regards,

Jay

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @JL475 ,

 

Please check the formulas:

Table = 
var tableb = ALLEXCEPT('Table B','Table B'[Finish Date])
return
EXCEPT('Table A',tableb)

vjaywmsft_0-1657605255463.png

Or

Table = 
var tableb = ALLEXCEPT('Table B','Table B'[Finish Date])
return
EXCEPT('Table A',EXCEPT('Table A',tableb))

vjaywmsft_1-1657605296661.png

 

Best Regards,

Jay

ribisht17
Super User
Super User

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.