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

Trend Line for 2 different date columns

I have 2 different date columns but would want to show a trend line with them.  

 

So I have Stop Planned Date and Stop Delivery Date.  

 

I would have the below table

Stop NumberStop Planned DatePlanned QtyDelivery DateDelivered Qty
15/12/2021105/12/20216
25/13/2021125/14/20218
35/14/2021105/15/202110

 

So  I would want a trend chart that would show

 

5/12 10 planned but 6 delivered

5/13 12 planned and 0 delivered

5/14 10 planned and 8 Delivered

5/15 0 Planned and 10 delivered

 

How can I do this?  Any tips would be appreciated

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Create a common date table and join both dates with that. One join will be inactive which you can activate in a measure using userelationship

 

refer to blog for similar example and code

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970

 

 

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Create a common date table and join both dates with that. One join will be inactive which you can activate in a measure using userelationship

 

refer to blog for similar example and code

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970

 

 

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.