Hello,
I have 2 fact tables with different granularity (and some dimension tables) where I want to use in one dataset.
How can I do this without creating duplacate values?
Thanks,
Mia
Hello,
I have 2 fact tables with different granularity (and some dimension tables) where I want to use in one dataset.
How can I do this without creating duplacate values?
Thanks,
Mia
H @miap - Welcome to AWS Quick Sight community and thanks for posting the question. Before creating the data set at Quick Sight you need to fix M:M ( Many to Many) relationship. Possibly you may need a bridge table which should fix the issue . This is a data modelling approach. Once you can fix your relations and validate the sample data in DB and understand joins, you can import the data sets and create a custom data set in Quick Sight out of it. Also you create a data set with Custom SQL in Quick Sight as well.
Quick Sight will not solve your data granularity issue, you have to fix it at database and model it before import to Quick Sight.
Hope the details will give some info.
Regards - Sanjeeb
Thanks for your response but I’m not shure I understand.
For example, I have 3 tables:
Table 1 - ‘Budget’
DepartmentId - YearlyBudget
1 - 100M
Table 2- ‘Expenses’
DepartmentId - Date - Expensess
1 - 01.01.23 - 150
1 - 02.01.23 - 200
Table 3 - ‘Date’
How can I fix the relashionship to M:M and use these tables in the same dataset, if the only option in QS is join? (Instead of a star scheme)
Thanks in advance,
Mia.
Hi @miap - The M:M relationship can not be fixed at Quick Sight level, you have to fix at ETL by introducing a bridge table.
Regards - Sanjeeb
How does a bridge table fix the issue ? you are still joining into it and duplicating your values no ?