Forum Discussion
SUNNY_ISLAND
4 years agoFrequent Visitor
Column total incorrect for converted amounts
I have the following dax formula to convert values from various currencies to SGD. The total column does not add up. Instead of showing $16.5m, it is showing $25.2m. The converted amount on each row...
Fowmy
Super User
4 years agoSUNNY_ISLAND
Please try the following version:
Total value in SGD =
VAR _CURRENCY =
MAX ( Data[Report curr] )
RETURN
SUMX (
data,
CALCULATE (
MAX ( 'Exch rate'[Exch rate] ),
'Exch rate'[Report Curr] = _CURRENCY
) * ( Data[Value] )
)SUNNY_ISLAND
4 years agoFrequent Visitor
Thanks for your suggestion but it is still not working. The end results remain the same. Would appreciate alternative suggestions. Much thanks