Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
admin11
Memorable Member
Memorable Member

How to convert foreign currency X Rate = SGD amount ?

Hi All

 

I need to compute net profit in SGD = net profit X rate 

admin11_0-1616624357094.png

I try below , it return wrong value :-:-

 

_YTD_NET_PROFIT_SGD = DIVIDE([_YTD_NET PROFIT_C] , [_rate_AR],BLANK() )
 

Below is my PBI file :-

 

https://www.dropbox.com/s/3x0zq00lq3q7s4o/PBT_V2021_392%20TI_SI_GL%20how%20to%20compute%20net%20prof...

 

Paul

1 ACCEPTED SOLUTION

Hi,

This measure works

Measure 4 = SUMX(VALUES('RATE'[SOURCE]),[YTD_NET_PROFIT_SGD])

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
PhilipTreacy
Super User
Super User

@admin11 

Hi Paul,

Download PBIX

Is the calculation Net Profit X Rate or Net Profit / Rate ?

Try this measure if you multiply them

 

_YTD_NET_PROFIT_SGD = [_YTD_NET PROFIT_C] * SELECTEDVALUE('RATE'[RATE])

 

Screenshot 2021-03-25 103859.png

 

or this if you divide

_YTD_NET_PROFIT_SGD = DIVIDE([_YTD_NET PROFIT_C], SELECTEDVALUE('RATE'[RATE]))

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


@PhilipTreacy 

Thank you very much , it work fine , But it does not give Overall Total amount , i recall i need to add SMUX , i try below :-
_YTD_NET_PROFIT_SGD = SUMX(DIVIDE([_YTD_NET PROFIT_C] , [_rate_AR],BLANK() ))
it does not work.
 
Paul

Hi,

This measure works

Measure 4 = SUMX(VALUES('RATE'[SOURCE]),[YTD_NET_PROFIT_SGD])

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_Mathur 

Thank you very much.

Paul

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.