cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
guptash
Frequent Visitor

Common Date Filter for Multiple Tables

Hi All,

 

I have two tables, each has date column. Date columns in both the tables might have repetitive dates or missing dates. This is the case because there might multiple values or no values for one particular date.

 

Both the tables are not related to each other. I am trying to visualize two charts from two tables with common date filter.

 

I already tried creating relationship between two tables with date column, but the error I receive is one of the two connecting columns should have unique values to have the relationship.

 

Can you please suggest how to achieve this task?

 

Thanks,

Shivam 

1 ACCEPTED SOLUTION
drewlewis15
Solution Specialist
Solution Specialist

Create a dynamic calendar table to relate to both of your tables.  Once that table is related, then all date slicers can be built off of that calendar table.

 

The followig link will walk you through setting up your calendar table.

 

Dynamic Calendar Table

View solution in original post

2 REPLIES 2
drewlewis15
Solution Specialist
Solution Specialist

Create a dynamic calendar table to relate to both of your tables.  Once that table is related, then all date slicers can be built off of that calendar table.

 

The followig link will walk you through setting up your calendar table.

 

Dynamic Calendar Table

Anonymous
Not applicable

I have similar issue but my date fields have time and dates.  Is it possible to have a single filter for date/time data?

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors