Forum Discussion
Efficient DAX for Dynamic FX Rate LookupDate by Drill-Level & Depth Slicer on a 40M-Row Model
Hello everyone,
- FBergamaschi1 year ago
Super User
Is in your pbix any measure you already started creating as a pre-work for the three you are asking to fix? So we can start from that point?
Anyway I would start checking this to get inspiration
https://www.daxpatterns.com/currency-conversion/
If this helped, please consider giving kudos and mark as a solution
me in replies or I'll lose your thread
Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page
Consider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI
- Digger1 year ago
Post Patron
FBergamaschi It feels like you're more focused on posting than actually checking the file. Would appreciate it if you could review it before commenting.
- tharunkumarRTK1 year ago
Super User
I looked into your file, my observations
1. I guess to reduce the file size you removed a lot of dat from your 'I03_DKD' table, it does not contain 2025 data and for 2024, it has jan feb and march data only.
2. Also, 2024 records corresponds to currency code EUR but your currency table does not contain this code.
its hard for anyone to guess which year's data is in right shape so that they can write the formula.
3. There is one many to many relationship, as you are concerned about performance you should consider handling this
https://learn.microsoft.com/en-us/power-bi/guidance/relationships-many-to-many
4. I am not sure why you are using actual date column from fact table in rows and date column from the calendar table into columns section of matrix, these two tables are related and those two are the actual date columns on top of which you created the relationship, I guess you need to remove them from columns section
I looked into your measure and you splitted the logic properly into variables, I would sugget you to fix the issue then debug the logic varaible by variable,
Connect on LinkedIn
Did I answer your question? Mark my post as a solution! If I helped you, click on the Thumbs Up to give Kudos.
Proud to be a Super User!
- v-veshwara-msft1 year ago
Community Support
Hi Digger ,
Thanks for posting in Microsoft Fabric Community.Could you please confirm if the response from tharunkumarRTK has been helpful in resolving your query. If you need any further assistnace, please reach out.
Thanks to tharunkumarRTK for looking into this and providing valuable insights.
Thank you.- Digger1 year ago
Post Patron
v-veshwara-msft of course it's not helpful at all as it doesn't solve the problem, only spams with posts. 😠#Problem #Spam #Posts