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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Date Hierarchy and Custom Column not Interacting Correctly - Time to Hire

Hello All,

 

I have two tables:

The first table is "job postings Neo" which has columns for "Job advertised from date", " Job advertized to date", "Job Name",  "ID" and some other information.

The second Table is  "Recent Hires - NEO" which columns for "Hired Date", "Job Posting ID", and some other information. 

I connect the tables using the job posting ID. I also connected both tables to a date table and made all the relation ships inactive.

 

I have created a column in the recent hires table called time to hire which has the following code:

Time to Hire = DATEDIFF(RELATED('jobpostings Neo'[advfrom]),'Recent Hires - NEO'[hiringperson.dthirestart],DAY)
 
This column graphs perfectly when using the "Advertised from date" but not when using the date heirarchy from my date table.
 
Here is what it looks like using the adversite from date:
advfrom.PNG
 
Here is what it looks like using the heirarchy:
  hierarchy.PNG

 
I would like the graph using the hierarchy to average the year, month, and week Time to Hire and display on a level higher than "date". Any help would be appreciated. 
3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , do you have some blank dates, remove them using a visual filter, also check are you taking sum or avg/

 

The measure should be coming from 'Recent Hires - NEO' table not the other one

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
Anonymous
Not applicable

@amitchandak There is no change if I filter out the blank dates. The time to hire is a column not a measure. It is averaged for the graphs.

Anonymous
Not applicable

@amitchandak My real question is how do I make a relationship that connects the Time to Hire column to the the date column so it can filter correctly? I have relationships between all the date columns but there are multiple.

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.