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 August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Using a customized filter for unrelated tables

Hi!

I need help in with the following issue:

 

I currently have 3 unrelated tables and 1 related. tbl_Schedule, tbl_LineList and and tbl_calendar, tbl_TCARD

- tbl_schedule is a project schedule from SharePoint.

- tbl_LineList is connected to a view in an Oracle database.

- tbl_calendar uses the min start date and the max as due date from tbl_schedule:

                                                 CALENDAR(MIN(tbl_Schedule[StartDate]),MAX(tbl_Schedule[DueDate]))

- tbl_TCARD is derived from linelist with only column that should apply to the report. It currently has a One-to-one (1:1), Cross filer direction-both with tbl_linelist.

 

The issue right now is that when I select only 1 subcon from the filter,  that 'Calc TCARD Actual' column does not change based on the subcon filter that is applies to. 

 

 

The intent is that when a filter Subcon is selected, all columns should update based on the selected filter. Is that possible to have a filter that works if not all tables are related?  

 

 I also tried establishing a relationship between tbl_calendar[Date] = to tbl_TCARD [Date] and the filter started to work for for 'Calc TCARD Actual', but it stopped stopped working for 'Baseline per Day' and 'Calc TCARD Baseline Cumulative' (the other two columns). - All Columns are coming from the tbl_calendar. In addition, in order to get tha actuals to even display, I has to = the dates from both dates from tbl_calendar and tbl_TCARD.

  
   Calc TCARD Actual = SUMX(FILTER(tbl_TCARD, tbl_Calendar[Date] = tbl_TCARD[TCARDDATE]),tbl_TCARD[Calc TCARD Complete])

 

 

Selecting: Paragon

2019-01-08 datasetB.png

 

 

 

Selecting: Suncoast

2019-01-08 2.png

 

The filter column is currently stored in tbl_TCARD.

 Here is the formula for the filter:

 

Calc ROW Subcon = IF([ROUTE] = "A 1" || [ROUTE] = "B 2" || [ROUTE] = "C 6" || [ROUTE] = "Chocolate D7" || [ROUTE] = "CP Chem Lateral" || [ROUTE] = "OCL 8" || [ROUTE] = "Stratton","Suncoast",IF([ROUTE] = "G3" || [ROUTE] = "Spread 4"          || [ROUTE] = "Spread 5","Paragon",BLANK()))

 

 

 

 

2 ACCEPTED SOLUTIONS
v-yuta-msft
Community Support
Community Support

@Anonymous,

 

Filter only works when there exists explicit or implicit relationship between tables. If the first three tables don't have relationship, you may create some bridge tables to connect these tables so that one table will filter other tables.

 

Regards,

Jimmy Tao

View solution in original post

Anonymous
Not applicable

I was thinking there might be another way, but did end up creating a relationship bridge between the subcon and the table that holds my actuals. In order to get my Sucbon, I had to create a table sorting filter that holds the Route since this is the column that my customize column derives it's data from. From there I established a relationship ( 1:*) from the 'Route' column in the filter table (several of my other tables use Route too) to the tbl_TCARD ( that holds the actuals). tbl_TCARD [Date] has a *:1 relationship with tbl_calendar[Date] in order for the actuals to fall under the right dates when being filtered.

result1.png


View solution in original post

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@Anonymous,

 

Filter only works when there exists explicit or implicit relationship between tables. If the first three tables don't have relationship, you may create some bridge tables to connect these tables so that one table will filter other tables.

 

Regards,

Jimmy Tao

Anonymous
Not applicable

I was thinking there might be another way, but did end up creating a relationship bridge between the subcon and the table that holds my actuals. In order to get my Sucbon, I had to create a table sorting filter that holds the Route since this is the column that my customize column derives it's data from. From there I established a relationship ( 1:*) from the 'Route' column in the filter table (several of my other tables use Route too) to the tbl_TCARD ( that holds the actuals). tbl_TCARD [Date] has a *:1 relationship with tbl_calendar[Date] in order for the actuals to fall under the right dates when being filtered.

result1.png


Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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