Forum Discussion

hadjigeo's avatar
hadjigeo
Helper I
6 years ago
Solved

Exchange rate

Hi,   i have a column with values that has multiple currencies such as:   AED USD EUR SAR and i want to create a new column that will convert all of them in USD and one more that will convert...
  • v-lili6-msft's avatar
    v-lili6-msft
    6 years ago

     hi hadjigeo 

    If so, just adjust the formula to create a measure instead of column

    lastest rate = MAXX(TOPN(1,FILTER('Dim daily rates','Dim daily rates'[bpc_name]=MAX('Table'[bpc_name])),'Dim daily rates'[bpc_ExchangeDate],DESC),[bpc_ExchangeRate])

     

    Regards,

    Lin