Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Infrecon
Frequent Visitor

Complex Modeling Question (Hospital Management System)

Have a more complex modelling question which is not apparent to me yet:

Background:

Have two different data sets:

1. A general one with benchmarks from all hospitals, granularity is at case level, on cost level partly already aggregated.

2. An internal data set from one hospital, where further parameters can be extracted.

 

Objective:

- On the one hand, I would like to do analyses on the benchmark set, but also combine it with the other internal data if necessary.

 

Questions:

1. How do I build a data model for the benchmark set that is performant?

 

The following tables are available:

 

Case Table (Excerpt) incl. 2 Mio Rows (Unfortunately the patient id is not available):

Case_IDCase_NrInsuranceAdmission_DateDischarge_DateDRG...
AAA_20221312312313123123private23.01.202230.1.2022A45G...

AAA_202218124123

18124123general1.2.20224.2.2022C65G...
BBB_20221451535414515354general31.1.20224.2.2022I75F...
.....................

 

Diagnosis Table (Excerpt) incl. 5 Mio Rows (One line per diagnosis, with classification primary or secondary diagnosis):

 

Case_IDDiagnosisClassification
AAA_202213123123F51.0Primary

AAA_202213123123

I71.9Secondary
AAA_202213123123I14.0Secondary
AAA_202218124123A90.8Primary
.........

 

Procedures Table (Excerpt) incl. 8 Mio Rows (One line per procedure):

 

Case_IDProcedureDate_Procedure...
AAA_202213123123Z812.0024.01.2022...

AAA_202213123123

Z814.0025.01.2022...
AAA_202213123123G103.0028.01.2022...
AAA_202218124123Z931.001.2.2022...
............

 

Cost Table (Excerpt) incl. 10 Mio Rows (One line per cost element):

 

Case_IDCost ElementValue...
AAA_202213123123Doctors4124.10...

AAA_202213123123

Nurses232.90...
AAA_202213123123OR293.20...
AAA_202218124123Material294.10...
............

 

In fact, I have several fact tables with different granularities. Case table at case level, the others at sublevels.

One possibility would be to join the tables, but then I would have a huge table.

 

 

 

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

Hi @Infrecon,

For the power bi data model, it should be suitable to build relationships with the star schema. (fact table link with dimension tables and use them as bridges to link other tables)

Understand star schema and the importance for Power BI - Power BI | Microsoft Docs

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

Hi @Infrecon,

For the power bi data model, it should be suitable to build relationships with the star schema. (fact table link with dimension tables and use them as bridges to link other tables)

Understand star schema and the importance for Power BI - Power BI | Microsoft Docs

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.