Forum Discussion
Anonymous
5 years agoNot applicable
How to create a RATE table for Table from Indonesia amount need to divide by 10,000
Hi All May i know how to create a RATE table , So that when Source.Name=INVC_TI.CSV it will divide by 10,000 ? My PBI file :- https://www.dropbox.com/s/v0d5shvm6w72rv4/INVC_V003.pbix?dl=0 ...
- 5 years ago
Hello Anonymous
The measure you should be like this:
Measure = DIVIDE ( [AMOUNT],MAX('RATE'[RATE]))
themistoklis
5 years agoCommunity Champion
Anonymous
Best to create an excel file with all the conversaion rates.
In your case the table will have at least 2 fields:
First field will be Source_Name (e.g. INVC_TI.csv) and second field will be the Rate.
Load the excel file to PowerBI and on Model section, join the excel table with the main table on Source_Name field (many to one cardinality)
Then create a measure which will simply divide the Amount with the Rate (e.g. Measure = DIVIDE([Amount], [Rate])
Anonymous
5 years agoNot applicable
Hi Themistoklis
Yes , this is the correct approach.
Thank you very much.
paul Yeo