Forum Discussion

Chandrashekar's avatar
Chandrashekar
Resolver III
4 years ago

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]))

 

7 Replies

    • Chandrashekar's avatar
      Chandrashekar
      Resolver III

      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

      • tamerj1's avatar
        tamerj1
        Community Champion

        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?

    • Chandrashekar's avatar
      Chandrashekar
      Resolver III

      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