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
Winner of T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Find out who won the T-Shirt Design Challenge and the top 3 finalists.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

Top Solution Authors