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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Controlling 2 sets of data with one date slicer

Hi

 

Is there and an easy an smart way to be able to control/manage to sets of data with one date slicer? Det 2 sets of data have their own seperat date and data series, but I would like to be able to slice both sets with one slicer.

 

Best regards

Niels

1 ACCEPTED SOLUTION
iamdataagile
New Member

Hi,

You need a date table in your data model. You then create a relationship between the date column in your date table the date column in your data table. Do this for each of your two data tables. You can then use the date table as to filter the data in both tables. e.g. Add a the date column from the date table to the slicer. There are many ways to get a date table into your data model if you don't already have one, but perhaps the quickest is to create a new table in Power BI (New table is on the modelling ribbon) using the dax function CALENDARAUTO(). This will add a date table to your model. There's much more you can do to enhance this but basically this should do what you need. Hope that helps.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

iamdataagile
New Member

Hi,

You need a date table in your data model. You then create a relationship between the date column in your date table the date column in your data table. Do this for each of your two data tables. You can then use the date table as to filter the data in both tables. e.g. Add a the date column from the date table to the slicer. There are many ways to get a date table into your data model if you don't already have one, but perhaps the quickest is to create a new table in Power BI (New table is on the modelling ribbon) using the dax function CALENDARAUTO(). This will add a date table to your model. There's much more you can do to enhance this but basically this should do what you need. Hope that helps.

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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