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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.