Forum Discussion
Relationship
I am trying to get the acutal hours charged vs budgeted hours for specific dates say example - for 28th week ending for an employee it should be 40 budget hours and 40 hours actual hours charged as on 28th weekending.. i have the following dataset - Arms(Budgeted hours) , Time and expense Report (Actual hours charged) and weekending(As i need those detais on week ending basis). So when i create a relationship between week ending date with the arms file incurr cycle , i am getting proper visual for the budgeted hours and but if i create relationship between timeandexpense report to week ending it is not coming and i am not able to make the relation ship active. I have a relationship early between arms , time and expense report and team mapping for the employee name so that i can use the specialist without merging them in both dataset. can someone please help me with this relationship issue.
AjayRangarajan , there too many many to many relationships. You need to have bridge tables
https://www.seerinteractive.com/blog/join-many-many-power-bi/
https://www.sqlbi.com/articles/the-importance-of-star-schemas-in-power-bi/
3 Replies
- amitchandakSuper User
AjayRangarajan , there too many many to many relationships. You need to have bridge tables
https://www.seerinteractive.com/blog/join-many-many-power-bi/
https://www.sqlbi.com/articles/the-importance-of-star-schemas-in-power-bi/
- AjayRangarajanFrequent Visitor
Thanks i was able to create relationship based on the link which was given.
- FarhanAhmedCommunity Champion
you model have too many Cross Filter with both sides
I have some questions
1- Why do you need to join ARMS and Time&Expense Table
2- Why are you not joining Employee table with ARMS and Time&Expense separately
3- Why are you not joining WeekEnding table with ARMS and Time&Expense separately
You model should be
WeekEnding Joins ARMs & Time&Expense with 1-Many single side relationship
Employee Joins ARMs & Time&Expense with 1-Many single side relationship