Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

latest price from fact table

Status
Not open for further replies.

bittmapp

Technical User
Jul 21, 2003
56
US
I have a fact table with

prod_id
upd_date
price

i want to create a metric that will return the price for the product for the latest upd_date.

do i have to add a column to the table that indicates current price?

any ideas would be appreciated.

thanks,

bitt
 
Create a Price metric with dimensionality set to ReportLevel S/S and Update Date S/Ending(fact).

This will be slow! You should add a column.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top