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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
samihuq
Helper III
Helper III

Common Filter for Different Data Source or Table

Dear Team,

I have got Two Tables Imported from Excel in PowerBi and they are not linked. Both of the Table has date column and calculated column that derives Year and Month Field.

 

Now when i select Year or Month as filter or Slicer from a particular Table, only that table filters. Now is there any way we can connect both the table using this single Year- Month Slicer or Filter? Or is there any other work around other then creating relationship?

 

Thanks,
Sami

1 ACCEPTED SOLUTION
jclark88
New Member

Unless there is a specific reason to avoid relationships (I can't think of one!) you'll need to use them..

 

A date dimension is commonly used for this.. You'll want a table with all the dates in a range your interested in, and you can have columns which have the different ways you may want to cut the data:

 

DateIdDateYearMonthDayYear Month
101/01/20152015JanuaryThursdayJan-15
202/01/20152015JanuaryFridayJan-15
303/01/20152015JanuarySaturdayJan-15
404/01/20152015JanuarySundayJan-15
505/01/20152015JanuaryMondayJan-15

 

You can either create a fixed table in excel, or if you want to get fancier you can generate is dynamically.

 

Join this table to your two excel tables and insert the DateId into them - then you can create the relationships between them in the relationships editor using the DateId key. The advantage of this approach is that you have a common, continuos set of dates and ways to slice the data

View solution in original post

3 REPLIES 3
jclark88
New Member

Unless there is a specific reason to avoid relationships (I can't think of one!) you'll need to use them..

 

A date dimension is commonly used for this.. You'll want a table with all the dates in a range your interested in, and you can have columns which have the different ways you may want to cut the data:

 

DateIdDateYearMonthDayYear Month
101/01/20152015JanuaryThursdayJan-15
202/01/20152015JanuaryFridayJan-15
303/01/20152015JanuarySaturdayJan-15
404/01/20152015JanuarySundayJan-15
505/01/20152015JanuaryMondayJan-15

 

You can either create a fixed table in excel, or if you want to get fancier you can generate is dynamically.

 

Join this table to your two excel tables and insert the DateId into them - then you can create the relationships between them in the relationships editor using the DateId key. The advantage of this approach is that you have a common, continuos set of dates and ways to slice the data

Is it possible in Power BI service as well?

Thanks man for your time, will try to incorporate that. 

 

Cheers,
Sami

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

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.