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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors