Forum Discussion
Calculated column rows do not return values for all rows
- Anonymous4 years ago
Hi Sai_Alkesh ,
Please remove any relationship between currency and sales table, and you can get the expected result...
Remove relationship
Best Regards
- amitchandak4 years agoSuper User
Sai_Alkesh , If all rate rae there then you should compare period with period
'SALES'[Sales] *
DIVIDE(1,
CALCULATE(
FIRSTNONBLANK('Currency'[FXRate], TRUE() ),
FILTER(
'Currency'
'Currency'[LCurrency] = 'Sales'[Currency] &&
'Currency'[FCurrency] = "GBP" &&
'Currency'[Type] = 'sales'[Type] &&
'Currency'[Period] = sales[Period])
)
)
- Sai_Alkesh4 years agoHelper II
amitchandak - it still gives the same result. The reason i have the period in the filter clause is, 'cos i want to get the inverse value of FX rate which is for that period. Once i get that rate, i want to multiply the sales from Sales table with this derived rate.
In the calculated column of Sales table, it shows me the result of the derived value, however it only shows where the period in sales table is '20214'
- amitchandak4 years agoSuper User