Lab Result values in Fact Table has int and non int values
2 posters
Page 1 of 1
Lab Result values in Fact Table has int and non int values
Hi Everyone,
I am struggling to find a way out for my problem with clinical data mart where i have 3 dimensions and one fact table
Dimension tables are --<1. Patient, Provider, Lab_tests
Fact Table is --> 1. Fact_labresult
My fact table looks like below image which has lab result values which are not perfect measures or int values.
can any one suggest me a best method how to represent this lab values in my fact table. Do i need to use degenerate dimension but this lab values are about 88,000000 rows of data.
Please suggest me what to do, if i convert it to int , i will loose the data which is of the form Negative,>somevalue etc..
I am struggling to find a way out for my problem with clinical data mart where i have 3 dimensions and one fact table
Dimension tables are --<1. Patient, Provider, Lab_tests
Fact Table is --> 1. Fact_labresult
My fact table looks like below image which has lab result values which are not perfect measures or int values.
can any one suggest me a best method how to represent this lab values in my fact table. Do i need to use degenerate dimension but this lab values are about 88,000000 rows of data.
Please suggest me what to do, if i convert it to int , i will loose the data which is of the form Negative,>somevalue etc..
sqlkiller- Posts : 2
Join date : 2011-11-17
Fact Dimension
This exact scenario is covered in Kimball's DW Toolkit. In the Healthcare chapter (13, p.269). Fact Dimension for Sparse Facts. Also covered in the Reader (8.24 & 8.25).
Essentially you can use an additional dimension to signify what type of measure your measure is. And store textual values off the fact table in a separate dimension.
Hope this helps.
Essentially you can use an additional dimension to signify what type of measure your measure is. And store textual values off the fact table in a separate dimension.
Hope this helps.
Re: Lab Result values in Fact Table has int and non int values
Thanks a lot!
This helped me, i was able to build the cube and customer is really happy.
This helped me, i was able to build the cube and customer is really happy.
sqlkiller- Posts : 2
Join date : 2011-11-17
Similar topics
» NULL Values in Fact Table
» Dummy dimension values in the fact table
» How to Handle a value in a fact table that can have multiple dimension values
» Source Values and Conformed Values in the Dimension table
» 'Routing' the grain of the fact table to multpile members of multiple dimensions causes the fact table to 'explode'
» Dummy dimension values in the fact table
» How to Handle a value in a fact table that can have multiple dimension values
» Source Values and Conformed Values in the Dimension table
» 'Routing' the grain of the fact table to multpile members of multiple dimensions causes the fact table to 'explode'
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum