cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Multiple date columns with one date table

Hello!

 

I have a question about the way the dates are connected to the date table. I have a dataset like the below that is connected to a date table with Open Date. This connection works fine. The question I need answering and I can't get right is: How many projects were opened in February and how many of them were closed? I would pick January in the date table, but it would only show me the open projects because it's the one connected to the date table.

 

Project IDOpen DateClosed Date
fasdgfads01-Jan-2003-Mar-20
gsdagads02-Feb-2004-Mar-20
gasdghff03-Feb-2005-Mar-20

 

 

I thought of potentially creating a separate table with the closed dates only, but not sure if there is an easier solution.

 

Thanks!

 

Jon

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: Multiple date columns with one date table

@Ugarte335 , You need to create a common Date table and join both with that, One active and one inactive realtion. Use userelation to activate them as per need.

Refer: https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
Highlighted
Super User IV
Super User IV

Re: Multiple date columns with one date table

@Ugarte335 , You need to create a common Date table and join both with that, One active and one inactive realtion. Use userelation to activate them as per need.

Refer: https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors