Forum Discussion
Understanding Dimensional Modeling
- 5 months ago
Hi jswartz_09,
Here the error is happening because Education and Employment still have multiple rows per participant (1-* relationship). When you bring fields from all tables into a single visual, power bi cannot determine which Education or Employment record to use for each participant.
- To make this work, you must first reduce Education and Employment to one row per participant, for example the latest record so the relationships become 1-to-1 with participant. Once those relationships become 1-to-1, the visual will work without errors.
Thanks and regards,
Anjan Kumar Chippa
I'm sorry but I don't think that is going to work.
Below is what I believe modeling wise you are suggesting?
Because of the 1-* relationships off of Participant to Employment and Education when you try to put data from the Completion (FACT) table, Case table, Participant table, and Employment table into a table visual in PowerBI an error is thrown because it cannot establish the relationships. See below.
My goal is to be able to have all data from each table into one table visual together.
Hi jswartz_09,
Here the error is happening because Education and Employment still have multiple rows per participant (1-* relationship). When you bring fields from all tables into a single visual, power bi cannot determine which Education or Employment record to use for each participant.
- To make this work, you must first reduce Education and Employment to one row per participant, for example the latest record so the relationships become 1-to-1 with participant. Once those relationships become 1-to-1, the visual will work without errors.
Thanks and regards,
Anjan Kumar Chippa
- v-achippa5 months agoCommunity Support
Hi @jswartz_09,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution I have provided for the issue worked? or let us know if you need any further assistance.
Thanks and regards,
Anjan Kumar Chippa