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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
sdc
Helper I
Helper I

Single date slicer for two data sets

I have two distinct data sets that each contain a date field along with separate number values for each date.

Instead of having one date slicer for each data source I would like to have one that controls both graphs at the same time.

How do I link the two date fileds together?

1 ACCEPTED SOLUTION
mahoneypat
Employee
Employee

You can add a Date table to your model and make a relationship to each table to one of the date columns.  You can then make a single slicer from a column in your Date table and use the Date columns in your charts to get your result.

Creating a simple date table in DAX - SQLBI

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

2 REPLIES 2
sdc
Helper I
Helper I

That did it, thanks

mahoneypat
Employee
Employee

You can add a Date table to your model and make a relationship to each table to one of the date columns.  You can then make a single slicer from a column in your Date table and use the Date columns in your charts to get your result.

Creating a simple date table in DAX - SQLBI

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.