March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have this model:
Emp Roles is an unpivot that has Manager1 and Manager2 from Contracts and Manager1 and Manager2 from Clients:
As expected, a given client can have different contracts… (And, a given contract can belong to multiple clients too).
Therefore clients and contracts is Many to Many too.
My problem is that when in Power BI I combine a manager from Emp Roles with a fact measure I get some wrong results.
Is there any way for this to work?
Solved! Go to Solution.
Hi. Unless you need to check fact numbers of EmpRoles exactly by client or by contracts, the snowflake it's not recommended. By data modeling star schema theory, you could just add a column to the fact with the unique identifier of the emp role that you can reach from contract from example before loading the model. That way you don't need relationships between emp role and client or emp role by contract. You can just have emp role with the fact directly.
I hope that helps, it's a lot to explain about how to handle different scenarios when doing data modeling and the answer usually is "it depends".
Happy to help!
Hi. Unless you need to check fact numbers of EmpRoles exactly by client or by contracts, the snowflake it's not recommended. By data modeling star schema theory, you could just add a column to the fact with the unique identifier of the emp role that you can reach from contract from example before loading the model. That way you don't need relationships between emp role and client or emp role by contract. You can just have emp role with the fact directly.
I hope that helps, it's a lot to explain about how to handle different scenarios when doing data modeling and the answer usually is "it depends".
Happy to help!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
25 | |
21 | |
11 | |
10 | |
9 |
User | Count |
---|---|
48 | |
30 | |
18 | |
17 | |
15 |