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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Syndicate_Admin
Administrator
Administrator

Create Filtered Table Between Two Tables

Hello:

I have the following tables, which are related to each other with a common ID number for both,

Jprada_3-1708003467689.png

I need to show data from a table, filtered data for the year 2024 and 2025 for which I made the table with a filter on the page for 2024 and then a measure for the 2025 data:

Jprada_2-1708003387717.png

To calculate the data for 2025 I made the following measurement: (Seeking to remove the filter from the page and applying a new filter)

assigned 2025 = CALCULATE([Assigned],all('Calendar'[Year]),FILTER('Calendar','Calendar'[Year]=2025))

But the result comes out blank.

If I apply a filter to the page for 2024 and 2025 if it shows me data but they are no longer the same for 2024:

Jprada_4-1708003755043.png

What would be the correct way to calculate the measure for 2025?

As a second option I was thinking of creating a filtered table of the COST MONTHLY table and applying a data filter to it only for the year 2025, but since they are in two different tables I don't know how to do it.

Thanks for the help.

On a board I have fli

1 REPLY 1
amitchandak
Super User
Super User

@Syndicate_Admin , Try like

 

assigned 2025 = CALCULATE([Assigned],FILTER(all('Calendar'),'Calendar'[Year]=2025))

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