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
Chandrashekar
Resolver III
Resolver III

Issue with Lookupvalue Formula

Hello,

 

am trying to get value from Table1 to Table2 where I used below lookupvalue formula but am getting Not Found as value is available in Table1.

I tried two formula(as below) but getting same result. However same works for small data(around 10 rows) but not for huge data which have more than 10K.

Kindly advise is there any issue with the below formula and cannot share pbix file as it is confidential.

Formula1: 

In Task = LOOKUPVALUE(Task[Number],Task[Number],'Task SLA'[Number],"Not Found")
In Task1 = CALCULATE(firstnonblank(Task[Number],TRUE()),FILTER('Task','Task SLA'[Number]=[Number]))

Chandrashekar_0-1649913275100.png

 

7 REPLIES 7
tamerj1
Super User
Super User

Hi @Chandrashekar 
Can you please provide sample data and advise the relationship between the two tables?

Hello,

I have established relationship on date field. Table1 have unique value(Number) however Table2 have duplicate value(Number).

Unfortunately I cannot share file as it confidential but I copied few records(10 rows) in another table and it is working fine but for huge data(12K) it is not working.

 

Regards,

Chandrashekar B

Hello,

I have established relationship on date field. Table1 have unique value(Number) however Table2 have duplicate value(Number).

Unfortunately I cannot share file as it confidential but I copied few records(10 rows) in another table and it is working fine but for huge data(12K) it is not working.

 

Regards,

Chandrashekar B

@Chandrashekar 
Yes because in big data you will have duplicates which is the case when LOOKUPVALUE returns blank. Same problem occurres when the data contains blanks, as blanks are treated as duplicates. What kind of result did you receive when applying to big data?

Hello,

If am understand you correctly. am getting Not Found as I have used it in formula.

Just now I copied data which am getting Not Found in separable table(400 records) and used lookupvalues formula where formula is working perfectly.

Is there anyway how to get desired result.

Formula used:

In Task = LOOKUPVALUE(Task[Number],Task[Number],'Task SLA'[Number],"Not Found")

Regards,

Chandrashekar B

Hello,

 

I did work around(Copied Number Only) to separate table. I used lookupvalue and worked fine. 

Kindly explain why same formula is not working in Task SLA(which have duplicate number.

 

Regards,

Chandrashekar B 

@Chandrashekar 

Please share some sample data. Make sure that the sample also reflects the problem

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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