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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
bourne2000
Helper V
Helper V

How to make relationship?

Hi

 

I have three tables called project started, project finished and date table

 

bourne2000_0-1669174178741.png

 

Project started and Project finished has been connected through date table. Project started table has total projects and project finished as total finished projects.

 

I created below visual by taking month from date table and project startes from project started table and project finished from project finished table

 

bourne2000_1-1669174339104.png

 

I have project code in both project started and project finished table. I would like to filter the projects and see how many projects started and finished. 

 

I created slicer by dragging project code from project started table. Filter only works for project started in the graph and total project finished ibar is not changing. Same If I drag project code from project finished table, bar is not working for project started. It remains static.

 

Can anyone advise how to make a common project code filter?

1 ACCEPTED SOLUTION
vicky_
Super User
Super User

I believe this is happening because of the direction of your filters. Notice that the arrows on the lines point away from the date table. This means that the filters applied to the date table will filter the other tables. But the project code doesn't exist in the date field.


I think you can either change the cross filter direction to both ways (double click on the relationship line to get this popup and then select cross-filter direction both

vicky__1-1669175474981.png

Or you can create a relationship between the project code fields of the two tables.

View solution in original post

2 REPLIES 2
Thennarasu_R
Responsive Resident
Responsive Resident

@bourne2000 
Tyr with Cross filter function I will help this scenarios

CALCULATE (
            [Measure],
            CROSSFILTER ( Project Finished[Column Name], Projecyed Startes[column Name], BOTH )

Thanks,
Thennarasu
vicky_
Super User
Super User

I believe this is happening because of the direction of your filters. Notice that the arrows on the lines point away from the date table. This means that the filters applied to the date table will filter the other tables. But the project code doesn't exist in the date field.


I think you can either change the cross filter direction to both ways (double click on the relationship line to get this popup and then select cross-filter direction both

vicky__1-1669175474981.png

Or you can create a relationship between the project code fields of the two tables.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.