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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors