Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi All,
I have below data model. All values are in EUR and i want to convert them to Local Currency based on slicer selection.
Budget and Country upload has different rates for each month. I want to use calcuation groups to do it, but I stucked.
I cannot make a working meassure to retrive rate based on both date and entry_type(country_upload and budget).
Fx_rates table looks like this:
Meassure in calc group that i failed to fix.
Thank you.
Hi,
I did not work unfortunately
Please see below sample of data model I am using. link
Thank you in advance.
Hi @mgrodzki ,
Please try:
Create a measure that retrieves the appropriate exchange rate from the table based on date and entry_type.
Exchange Rate =
VAR SelectedDate = SELECTEDVALUE('Date'[Date])
VAR SelectedEntryType = SELECTEDVALUE('EntryType'[Type])
RETURN
CALCULATE (
AVERAGE('Fx_rates'[Rate]),
'Fx_rates'[Date] = SelectedDate,
'Fx_rates'[EntryType] = SelectedEntryType
)
Now, you can create calculation groups to use for different situations.
If the syntax I provided didn't help you solve the problem, I would be grateful if you could provide me with the pbix file or sample data.
Remember to remove sensitive data and do not log in to your account in Power BI Desktop when uploading the pbix file.
If you have any other questions please feel free to contact me.
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
9 |