Hans Cornette
04/22/2024, 2:25 PMIvana Gasparekova
04/22/2024, 2:44 PMJakub Sterba
04/22/2024, 3:39 PMJakub Sterba
04/22/2024, 3:43 PMHans Cornette
04/22/2024, 8:30 PMMichal Hauzírek
04/23/2024, 11:45 AMA --> B
means:
• for each A
there can be zero or more Bs and each B
has exactly one A
• any fact/numerical value in A
can not be effectively broken by any attribute in B
because there can be many B-rows for the same A-row and there is no information how to distribute the single value among them
• the other way around, it is allowed, since multiple values from B
can be easily aggregated into a single value from A
If you can have multiple approvers per expense and want to for example filter expenses by approver, it is an ideal candidate for the M-N relationship (make the arrow bi-directional). This will also allow slicing of facts in expenses by approvers and only in this case would show the same value from expense next to all its approvers.Hans Cornette
04/23/2024, 12:02 PM