Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello dear members
I would like a confirmation regarding my logic behind a data model.
I have one fact table with data from a hospital with all the illnesses and the average cost of them. So for example illness: asthma, Cost : 1000$.
And I have another fact table with treatments. For example illness: asthma, treatment1: inhaler, cost: 100, treatement2: pills, cost: 50.
One illness could be linked to multiple treatments. Is it ok to consolidate the 2 tables together?
The problem here I think is that the average cost per Illness will be duplicate multiple times based on the number of treatments.
What do you think??
From modeling and power bi perspective is this ok to do??
Thank you very much
Solved! Go to Solution.
Hi @Dimitris_Kats
For better data model, please create a DIM table for Illness and connect with both Fact table
You can enter data for DIM table directly in Power BI desktop or Power Query editor
Or usa DAX = DISTINCT(Table2[illnesscolumn]) to create the DIM table
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
Proud to be a Super User! | |
Hi @Dimitris_Kats
For better data model, please create a DIM table for Illness and connect with both Fact table
You can enter data for DIM table directly in Power BI desktop or Power Query editor
Or usa DAX = DISTINCT(Table2[illnesscolumn]) to create the DIM table
Let me know if that works for you
If your requirement is solved, please mark THIS ANSWER as SOLUTION ✔️ and help other users find the solution quickly. Please hit the LIKE 👍 button if this comment helps you.
Thanks
Pijush
Linkedin
Proud to be a Super User! | |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 59 | |
| 43 | |
| 42 | |
| 23 | |
| 17 |
| User | Count |
|---|---|
| 190 | |
| 122 | |
| 96 | |
| 66 | |
| 47 |