Duration measure in fact table
You should calculate this during your ETL process or create a calculated column on your fact table.  Then, aggregations will be easier and queries will be somewhat faster than calculating the values at runtime.