cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

data relationships

I have two different tabs on excel. One has employees and amount of hours worked per employee. Another has phases of a project and the amount of hours in each phase as well as the total number of hours. How can I relate the amount of hours each employee worked to the total number of hours worked on the project as a whole in Power BI?

12 REPLIES 12
NipponSahore Resolver II
Resolver II

Re: data relationships

Can you please share what your data looks like. Maybe a sample might help

rajendran Resident Rockstar
Resident Rockstar

Re: data relationships

Yes, as @NipponSahore mentioned please post the sample data set along with the expected result.

 

Thanks
Raj

Anonymous
Not applicable

Re: data relationships

1.PNG2.PNG

Anonymous
Not applicable

Re: data relationships

The "Actual Work" column in the first photo is the same amount of hours as the "Total Work" column in the second photo (with the employee data)

rajendran Resident Rockstar
Resident Rockstar

Re: data relationships

We cannot derive that as the current table design has no relationship between these 2 tables and there is no way to find how many hrs Sam spend his effort in each phase AND who contributed for the 12 hrs meeting. The design needs to be changed, to have the relationship and break up to find the above details.

 

Thanks

Raj

Anonymous
Not applicable

Re: data relationships

Do you have a suggestion on how to do that?

rajendran Resident Rockstar
Resident Rockstar

Re: data relationships

the Employee Table should have the break up of hrs spent for the phase/ per employee. You should include a new column Phase in the Emp table. Then you can make the relationship between these 2 tables basaed on the "Phase" column .

 

Thanks
Raj

Highlighted
Anonymous
Not applicable

Re: data relationships

I just did that but my visualizations are still not interacting 

rajendran Resident Rockstar
Resident Rockstar

Re: data relationships

Can you please post your revised data model and also share what are trying in the visuals . Please share the PBIX file if you need more help.

 

Thanks
Raj

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

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

Top Solution Authors