Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Dear:
Thank you in advance for the support you can give me, I have to show the sales information in local currency and in usd, but as we know the exchange rate is variable in a period of time, so the rate I have in a table called, exchange rate, which has a beginning and end of validity, as well as the exchange factor, and in the second table I have the sale on a certain date, to which I want to add a column that is USD, which would be the sale between the exchange factor on the given date.
Attached the link
https://drive.google.com/file/d/1U73OKoiQ6VDHgQLEjjAIyI1_8fwFFOLR/view?usp=sharing
Solved! Go to Solution.
Hi, @Syndicate_Admin
You can try the following methods.
Column:
USD =
CALCULATE (
MAX ( TipoCambio[Valor] ),
FILTER (
TipoCambio,
[Desde] <= EARLIER ( Venta[Fecha] )
&& [Hasta] >= EARLIER ( Venta[Fecha] )
)
) * [Venta]
Is this the output you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Syndicate_Admin
You can try the following methods.
Column:
USD =
CALCULATE (
MAX ( TipoCambio[Valor] ),
FILTER (
TipoCambio,
[Desde] <= EARLIER ( Venta[Fecha] )
&& [Hasta] >= EARLIER ( Venta[Fecha] )
)
) * [Venta]
Is this the output you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please find the measure to find the rate
Thank you very much, it's exactly what I needed.
Best regards
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
88 | |
77 | |
58 | |
42 | |
38 |
User | Count |
---|---|
116 | |
81 | |
81 | |
50 | |
39 |