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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors