Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi All,
I have a scenario where I have 2 tables with a 1 to many relationship
Product
ProductId - ProductName, CreationDate
Order
OrderID - ProductID - CreationDate
I would like to get de time difference between product.CreationDate and the CreationDate of the first linked oder ( for every Product )
Could someone help me please ?
Solved! Go to Solution.
You could create a calculated column with the below DAX
First order date =
MINX ( RELATEDTABLE ( 'Order' ), 'Order'[Creation date] )
Thanks !
You could create a calculated column with the below DAX
First order date =
MINX ( RELATEDTABLE ( 'Order' ), 'Order'[Creation date] )