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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

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
Anonymous
Not applicable

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

View solution in original post

1 REPLY 1
Anonymous
Not applicable

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.