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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Slicer For Two Different Date Columns

Hey, there I am looking to create a sing slicer that will slice two different date columns. I have data on jobs that come in which have a created date and a resolved date which are the main dates of interest. The resolved date is only populated when the task gets resolved.

Lowea_0-1593058113567.png

 

I have created a dashboard that has multiple different graphs that each use the resolved or created date separately and would like to be able to select a single date e.g. the Month of January 2020 and filter the page to show this data.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , you need to join the tables with same date table. One join will be inactive. You can use userelation to activate the join.

 

refer to my blog on similar topic : https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , you need to join the tables with same date table. One join will be inactive. You can use userelation to activate the join.

 

refer to my blog on similar topic : https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970

Anonymous
Not applicable

Hi thanks for the quick reply. I tried that and it messes up the dashboard.

 

I created a date table using the following code 

Date = CALENDAR(MIN(JIRA_ISSUES_REPORTING_CA[Created Date]), TODAY())
 
And inputted the relationships like so 
 
 

Capture.PNG

 

However it messes with the dashboard and breaks a lot of it. Is there any other alternatives or ways around this? It breaks the dashboard even when they are both inactive.

 

 

Hi , @Anonymous 

Once you create an inactive relationship, it means that when you want to use the inactive relationship to filter  any field in the visualization, you need to create a new measure to replace it (see measue "End date2" in pbix file) .

Here is a sample file.

Pbix attached

 

Best Regards,
Community Support Team _ Eason

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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