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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Anonymous
Not applicable

One date slicer for multiple date columns

Hello everybody!

I'm new to posting on forum here, but definitely a veteran at checking this space for all PowerBI questions I have. That being said - I have not been able to find an answer to a burning question I have, or maybe I've written the wrong search terms... anywho...

 

How can I use just one date slicer on the page to filter multiple data sets that have multiple date columns of their own?

 

I'm working with multiple CRM-created data sets and pretty much all of them have at least 2 date columns. How do I 'tell' the date slicer which columns to filter by in each of my data sets?

 

I'm reading up now on creating special date tables and multiple fact tables, but so far have not figured it out yet... any help would be appreciated! 🙂

 

A

1 ACCEPTED SOLUTION

The fundamental issue is that you don't want to have multiple possible filtering paths from one table to another since this creates model ambiguity.

 

For example, if following relationship paths, Dates filters SentEmails and SentEmails filters EmailEvents, then having Dates directly filter EmailEvents via a relationship introduces ambiguity, which is why Power BI sets these relationships to be inactive.

 

There's no simple fix to create a good data model. The resolution is to structure your model to avoid bidirectional relationships when possible and avoid relationships directly between fact tables wherever possible.

 

Further reading:
https://www.sqlbi.com/articles/bidirectional-relationships-and-ambiguity-in-dax/

https://www.sqlbi.com/articles/syncing-slicers-in-power-bi/

https://www.sqlbi.com/articles/different-options-to-model-many-to-many-relationships-in-power-bi-and...

View solution in original post

10 REPLIES 10
Annora
New Member

I found another solution for our CRM power bi tool.  where I wanted to see both Open as well as Won opportunities. So to look at all the 'Open' opportunities 'Estimates Close Date' and also know how many opportunities I have in the pipeline on the same page as to also look at all 'Won' by the 'Actual Close Date' on each of the closed opportunities on the same page by using a 'unified column' .  Essentially  I created a column with a measure that looks at first of all ONLY the estimated close date column to populate the dates, and to check if there is a date in the Actual Close Date column - if there is an Actual Close Date then to use that instead in my unified column.  That unified column then gets spun off into its own table with a date hierachy of its own that i can use on the slicer.  I use the date hierachy in my visuals and cards and you can see the Open plus Forecast plus estimated contract values unweighted all on the one area chart.

Yes you also need to create a relationship between the unified column and the unified table, but it works a treat and Ive sat with this problem for a couple of years now where I only want ONE slicer on my page, and just this week solved it for my dashboards, SUCH A RELIEF.

techno
Regular Visitor

I'm curious on what the best approach would be for Service Management Data.

 

We have a table of Issues, which have a Created Date and a Resolved Date.

For a Monthly report of lets say, May,

We would need to filter one chart with all issues Created in May and anothe chart to show all issues Resolved in May,

Both showing issues per day of the month.

 

Thoughts and ideas?

C2
Frequent Visitor

I have a similar situation here, if anyone could help, on singe table I have Shipped Date , & Scheduled, I have 2 visuals that shows how many units we "Shipped" per day & how many units we "Scheduled" per day, how to I create a Date Slicer that can filter both visuals? 

 

before hand, Thank you

 

AlexisOlson
Super User
Super User

You should have a date dimension table with a relationship to the date column on each table that you want to filter on.

 

If you have multiple date columns in one of your fact tables, how do you expect the filtering to behave? Is one of the columns relevant and the other(s) not? Are you expecting it to filter multiple columns on the same table simultaneously?

Anonymous
Not applicable

Thank you for your suggestion, Alexis!

 

Indeed, some date columns are not relevant in the specific view I'm trying to create, and, no - I do not expect to filter multiple columns within the same table with the same slicer.

 

I will try the date dimension table and hope the relationships will work and connect!

Great. If you only need to filter on a single column per table at a time, then the date dimension table is exactly what you need.

Anonymous
Not applicable

Hello Alexis,

Thanks again for your reply. I created the date dimension table and started to create relationships, but... I think I have run into a problem, where existing relationships are preventing the date relationships being active. Quick googling suggests that I might have a multiple fact table problem... and I'm not sure what/how to do - besides totally remodelling everything..?

By any chance would you have an suggestion?

 

artbe_1-1649242719975.png

 

The fundamental issue is that you don't want to have multiple possible filtering paths from one table to another since this creates model ambiguity.

 

For example, if following relationship paths, Dates filters SentEmails and SentEmails filters EmailEvents, then having Dates directly filter EmailEvents via a relationship introduces ambiguity, which is why Power BI sets these relationships to be inactive.

 

There's no simple fix to create a good data model. The resolution is to structure your model to avoid bidirectional relationships when possible and avoid relationships directly between fact tables wherever possible.

 

Further reading:
https://www.sqlbi.com/articles/bidirectional-relationships-and-ambiguity-in-dax/

https://www.sqlbi.com/articles/syncing-slicers-in-power-bi/

https://www.sqlbi.com/articles/different-options-to-model-many-to-many-relationships-in-power-bi-and...

Anonymous
Not applicable

Thank you, Alexis for your reply!

I was kind of fearing it... and hoped that the date dimension table can simply act as a secondary overarching "hidden" filter that would filter the data in the way I need.

Thank you very much for your support!

Anonymous
Not applicable

One solution to the problem I might try is to simply delete the 'other' date columns and leave only the one that I will use - so that PowerBI has an easier time to sync them..?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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