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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
DoctorYSG
Helper III
Helper III

Modeling: Advanced OODB style modeling

We have a number of telemetry sources which have overlap (network traffic at layers 2, 4, and 7) If PowerBI was a OODB (object oriented DB) I would create a class hierarchy for the common Fact Table, as well as each of the (3) dimension tables. So that the common columns were in the superclass, and they linked to the superclass of the dimension (TimeTable, Location Table, Path Table).

But PowerBi is not an OODB. So one way to do this is just to create a Fact (time, value, etc.) table that is a superset of all the different sources, realizing that some columns from one or more sources will be null, And the same with the Dimension tables.

 

Is this the best we can do? Does it mean to we have to create DAX expressions that give the user a clean slice of the data for each individual layer  (3,4,7) and another set of DAX for when things are in common across all layers?

1 ACCEPTED SOLUTION
TomMartens
Super User
Super User

Hey @DoctorYSG ,

 

I recommend reading the "(The Complete Reference) Star Schema" by Christorpher Adamson. There are fact tables with different dimensionality and dfferent granularity. Different fact tables can share the same dimension.

It is not a good idea to have fact and dimension tables with empty columns if different types of events are measured or different types of business objects are "modeled."

 

Hopefully, this adds some additional information.

 

Regards,

Tom

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

View solution in original post

3 REPLIES 3
TomMartens
Super User
Super User

Not if you want/have to use Power BI.

 

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
DoctorYSG
Helper III
Helper III

@TomMartens Jah, and that might be the best that we can do. But don't you see that this results in combinatorial explosion in both the Fact and Dimension tables, as one pre-computes all possible powersets for each one?

Sounds expensive in storage, and it is also hard to a-priori decide what combinations of "classes" are going to be interesting. 

Is there nothing closer to a true OODB (object-oriented DB) approach?


Dr. Y. Gutfreund

 

 

TomMartens
Super User
Super User

Hey @DoctorYSG ,

 

I recommend reading the "(The Complete Reference) Star Schema" by Christorpher Adamson. There are fact tables with different dimensionality and dfferent granularity. Different fact tables can share the same dimension.

It is not a good idea to have fact and dimension tables with empty columns if different types of events are measured or different types of business objects are "modeled."

 

Hopefully, this adds some additional information.

 

Regards,

Tom

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.