Forum Discussion
Lookupvalue error
- 5 years ago
Hi some1else ,
Try to use firstnoblank() to create columns:
Column = CALCULATE ( FIRSTNONBLANK ( 'Folhal'[COMPRIMENTO], 1 ), FILTER ( 'Folhal', 'Folhal'[RUA] = 'OTs'[RUA] && 'Folhal'[FREGUESIA] = 'OTs'[FREGUESIA] ) )Please refer this viedo about how to deal with this error in lookupvalue.
In addition, attached a simple sample in the below, hopes it could help.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
some1else , refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8
Thanks for the reply. I've watched the videos, but still facing the same problem. I've converged all the info that was spread in other tables into one single table that contains the details of each street.
Please check image below containing new relationships
If I make a new column in OTs with this function it gives an error (see image below)
I need it to give me the COMPRIMENTO value for the RUA and FREGUESIA user selects in slicer.
In this case, there's more than one "Rua Areias" in Folha1 table, that's why user needs to select FREGUESIA for it to grab the unique value.
- v-yingjl5 years agoCommunity Support
Hi some1else ,
Try to use firstnoblank() to create columns:
Column = CALCULATE ( FIRSTNONBLANK ( 'Folhal'[COMPRIMENTO], 1 ), FILTER ( 'Folhal', 'Folhal'[RUA] = 'OTs'[RUA] && 'Folhal'[FREGUESIA] = 'OTs'[FREGUESIA] ) )Please refer this viedo about how to deal with this error in lookupvalue.
In addition, attached a simple sample in the below, hopes it could help.
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.