Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 217137

Drill-across to temporal fact table - Data model design

$
0
0

I am currently modelling a Kimball example where i need to drill-across between two fact tables. The first table FactReadings holds meter readings on the installation. The seccond table FactSupplier holds who the current supplier is on the installation.

 

FactReadings: | InstallationSK | DateSK | MeterValue | 

 

FactSupplier: | InstallationSK | SupplierStartDateSK | SupplierEndDateSK | SupplierSK |

 

As shown abow the FactSupplier table records the period the supplier is associated with the installation ( start and end ). Readings can happen at any time between the start and end. What would the data model have to look like for me to be able to drill across from FactReading to FactSupplier and see who the supplier was for that meter reading?

Billede uden titel.png

 

 

 

 

 


Viewing all articles
Browse latest Browse all 217137

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>