Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join 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.

Reply
Tho_Chr
New Member

Problem with lookup function

Hi all,

 

I have a problem with the below mentioned query. I only get values returned in approximately 25,000 rows out of 1,132,000 expected returns. The is a huge variety in YearMonth and currency returned. I believe that the problem could be that the column (Currency_from_slicer) is itself a lokup table and the it becomes a HEN AND THE EGG problem - but I'm not sure if that's the issue.

 

I use the same function with another table where I lookup in the Currency_Exchange_table (2) and here the outcome is as expected.

 

Any idea how to go around this?

 

amt_DKK_to_Euro_Exchange = LOOKUPVALUE('Currency_exchange_tabel (2)'[Calculated Exchange];'Currency_exchange_tabel (2)'[YearMonth];safe_tc40[YearMonth];'Currency_exchange_tabel (2)'[Currency_Numeric_Code A];safe_tc40[currency_from_slicer])

1 REPLY 1
lbendlin
Super User
Super User

would it be possible to connect the tables in a data model and avoid the LOOKUPVALUE altogether?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.