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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
patrik555
Regular Visitor

Average monthly exchange rate

Hi,

 

I would like to create a monthly average rate column, with the following instruction, could you please help me?

 

Exchange_Rate_Type=MNBDEVKOZ

Source_Currency_Code=EUR

 

I have a Starting_Date column with dates (e.g.: 01.12.2022)

Relational_Exch_Rate_Amount - > i would like to get a monthly average for these numbers. 

 

Thank you.

1 REPLY 1
amitchandak
Super User
Super User

@patrik555 ,  Try a measure like

 

Averagex(Values(Table[Month Year]), calculate(Divide(Sum(Table[Value]), Sum(Table[Rate])), filter(Table,[Source_Currency_Code] ="EUR" && Table[Exchange_Rate_Type]="MNBDEVKOZ")))

 

The information you have provided is not making the problem clear to me. Can you please explain with an example.
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Appreciate your Kudos.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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