Forum Discussion
findingsolution
4 years agoHelper I
Card not showing sum
I am trying to get the sum of the column 'Current Cost' in the card called 'Total Value': If I only select some of the stocks (for example A2M), it will sum the value. But there seems...
- 4 years ago
YukiK
4 years agoImpactful Individual
For Current Cost, try using SUMX() like the following:
Current Cost =
SUMX (
VALUES(Stocks[Stock List]),
[Yesterday Close]*Stocks[Amount of Shares]
)
findingsolution
4 years agoHelper I
When I try it, it shows an error:
That's why I previously used selectedvalue around the amount of shares, but when I try it, the card still does not sum. How do I fix this error?
PS: amount of shares is a whole number.