March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Dear all
I have a list of currency rates, and I need to pull the last date of currency rates from each month, so EndOfMonth is not working in this case.
I have tried with this forumla, but it doesn't seem to give any results:
endOfMonth_1 =
CALCULATE(
MAX(CurrencyRates[Date_Currency]);
ALLSELECTED(currencyRates[YearMonth])
)
Does anyone have ideas on how to pick this date and to show the Currency_Value based on this selection?
Kind regards
Espen
Solved! Go to Solution.
Hi @jaco1951
Hope it helps
This is the Measure I used
EndOfMonth_rate = VAR Last_Date = ENDOFMONTH ( VALUES ( CurrencyRates[Date] ) ) RETURN CALCULATE ( SELECTEDVALUE ( CurrencyRates[Rate] ), CurrencyRates[Date] = Last_Date )
Hi @jaco1951
Hope it helps
This is the Measure I used
EndOfMonth_rate = VAR Last_Date = ENDOFMONTH ( VALUES ( CurrencyRates[Date] ) ) RETURN CALCULATE ( SELECTEDVALUE ( CurrencyRates[Rate] ), CurrencyRates[Date] = Last_Date )
Thank you very much!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
87 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |