Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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!
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
105 | |
99 | |
98 | |
38 | |
37 |
User | Count |
---|---|
154 | |
120 | |
73 | |
73 | |
63 |