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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.