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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
daveedd
Helper II
Helper II

Create data agnostic date field

Afternoon everyone,

 

My dataset has several date fields which I want to lay out on the same visuals like below.

 

daveedd_0-1648656009781.png

 

Trouble is because the date field used there is tied to the opened date the closed number is incorrect.  These are the correct numbers I should see

 

daveedd_2-1648656200199.png

 

 

So what I'm looking for is a way to put a date field on a visual and drag measures based on various date fields into it.  Any ideas?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@daveedd , Have tried inactive join and userelationship

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

 

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@daveedd , Have tried inactive join and userelationship

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

 

https://radacad.com/userelationship-or-role-playing-dimension-dealing-with-inactive-relationships-in...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak That's great thanks a lot! 

Quick follow up, I'm working with date-time fields, is there a cleaner solution than splitting it into separate date and time fields to make this work, or is that what you would do?

And is it possible to do the same with hours of the day (0-23) on the same metrics, or would we be looking at multiple?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.