Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have table Operation (Date , Amount) and table Exchenge_rate (start_date, rate, end_date).
The specific exchange rate has been for several days. In Exchenge_rate table this is one row.
I need merge this table (perhaps there is another way), and get value Currency_Amount = Value/rate.
Perhaps this is a simple task, but I still only starting their way in Power BI.
I will be very grateful for any help
For starters, I would keep these tables separate and write a calculated column once the query is loaded.
The calculated column on the Operation table might look like this ...
Exchange Rate = CALCULATE( IFERROR(VALUES(Exchange_Rate[Rate]),BLANK()), FILTER(Exchange_Rate, EARLIER(Operation[Date])>=Exchange_Rate[Start_Date]&&EARLIER(Operation[Date])<=Exchange_Rate[End_Date]))
User | Count |
---|---|
77 | |
76 | |
44 | |
30 | |
26 |
User | Count |
---|---|
97 | |
91 | |
52 | |
47 | |
46 |