Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

total spent measure question

Hey everyone, I'm trying to get this measure which is supposed to be the total value in money spent

the first table is the number of units bought, and the second, the price of the units bought. Both tables have date columns and there are multiple lines per month (hence the SUM) for example, the total spent that's coming out of that measure is 37530 (10.4+10.45)*(1000+800)

however, I'd like totalSpent to be: (10.4 x 1000)+(10.45 x 800) = 18760