Hello,
I have two tables in powerpivot and I need a calculation formula.
Im new with the PowerPivot world so please be gentle with me.
My data looks like that:
table1:
uniq order number | order price
1 | 500$
2 | 300$
3 | 100$
4 | 250&
table2:
order number | Time
3 | 1.5
3 | 2
1 | 5.2
2 | 2.33
1 | 4.5
4 | 1.22
3 | 1
I want to add a calculation column to table 2 that calculat the price for the relative record.
for example: the first record in table 2 sould return 22.2222
My calculation:
100/(1.5+2+1)*(Time column - first row)
* The "Time" column is the "time*24" (example: 02:30*24 = 2.5)
Thank you!
I have two tables in powerpivot and I need a calculation formula.
Im new with the PowerPivot world so please be gentle with me.
My data looks like that:
table1:
uniq order number | order price
1 | 500$
2 | 300$
3 | 100$
4 | 250&
table2:
order number | Time
3 | 1.5
3 | 2
1 | 5.2
2 | 2.33
1 | 4.5
4 | 1.22
3 | 1
I want to add a calculation column to table 2 that calculat the price for the relative record.
for example: the first record in table 2 sould return 22.2222
My calculation:
100/(1.5+2+1)*(Time column - first row)
* The "Time" column is the "time*24" (example: 02:30*24 = 2.5)
Thank you!