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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors
Top Kudoed Authors