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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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