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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
MCMcMax
Frequent Visitor

Doing a count based on the values in multiple tables

Hello everyone - hope you're well.

 

I have one table which is a list of all our staff, both past and present, each with a unique ID.

 

Using the unique ID, this table has a 1 to many relationship with 2 other tables:

  • A list of departments they have been a member of with the date they started in the department
  • A list of the number of hours they do a week with the date that any change to their hours was made - effectively these hours divided by the standard week of 37.5 hours gives how many FTEs they are.

I also have a separate date table.

So a staff member may both change departments while they are working for us and change their weekly working hours.

I'd like to create a measure to calculate over a given period:

  • Average FTEs for a department over a chosen period
  • values to enable a line graph to show the average FTEs profile over a chosen period

I'm guessing it's either going to:

  • Some sort of joint filtering
  • Some way of joining up the two changes tables into one?
1 REPLY 1
Anonymous
Not applicable

Hi  @MCMcMax ,

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 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.

Top Solution Authors