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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Syndicate_Admin
Administrator
Administrator

Get Column from another table by applying filter

Hi everyone, I have the following query:

I have table A and table B. Between tables A and B I have a common field as a key, it's called Camp_ID.

Table A is my main table with data. From table B, I need to filter the rows where the Category field starts with 'Spring*' and get column End_Date from that table and take it to table A.

How can I go about filtering the data in Table B and bringing me to Table A in column End_Date? You wouldn't need to have table B in the model, it's just to get that field.

Thank you!!!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Syndicate_Admin ,new column in table A

 

Maxx(filter(TableB, Tablea[Camp_id] = tableB[campId] && containsstring(TableB[categoty], "Spring") ), TableB[Date])

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

1 REPLY 1
amitchandak
Super User
Super User

@Syndicate_Admin ,new column in table A

 

Maxx(filter(TableB, Tablea[Camp_id] = tableB[campId] && containsstring(TableB[categoty], "Spring") ), TableB[Date])

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors