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

LookUpValue not working as expected

I have these two tables:

Holidays:

wolfgangkbwork_0-1651598525647.png

 

and Goals

wolfgangkbwork_1-1651598541688.png

and the following Calculated Column in Holidays 

HolidayValue = LOOKUPVALUE(Goals[HolidayValue],Goals[Employee.id],Holidays[Employee.id],Goals[Year],Holidays[Year])

 

as you can see, these lookup always returns empty and I have no idea why.

 

any help is appreciated

3 REPLIES 3
ddpl
Solution Sage
Solution Sage

Hi,

Try this using merge from power query:

Holliday Table:

VipulGadhiya_0-1651639588694.png

 

Gola Table:

 

VipulGadhiya_1-1651639631983.png

 

 

Merge table:

 

VipulGadhiya_2-1651639678262.png

 

AlexisOlson
Super User
Super User

Are the Employee.id and Year columns the same data type in both tables? You might have issues if, say, Goals[Year] is a text column but Holidays[Year] is an integer column.

Year and Employee.ID are "WHole Number" Data types.

wolfgangkbwork_0-1651599968584.png

wolfgangkbwork_3-1651600037496.png

wolfgangkbwork_1-1651599987749.pngwolfgangkbwork_2-1651600013937.png

 

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.