Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi, When trying to use the LOOKUPVALUE formula in POWER BI, the following error was returned: A table of several values was provided, and a single value was expected.
Faturamento = LOOKUPVALUE(NF_SAIDA[NS_DATA_EMISSAO],
NF_SAIDA[PV_CODIGO],
PEDIDO_VENDA[PV_CODIGO])
NF_SAIDA[NS_DATA_EMISSAO]: Column containing the date the order was invoiced
NF_SAIDA[PV_CODIGO]: Column containing the SKU of the product (Table only for orders that have already been invoiced)
PEDIDO_VENDA[PV_CODIGO]): Column containing the SKU of the product (General typing table: budget or order)
Solved! Go to Solution.
Hi,
Thanks for the tip. I went to look and it really had duplicate values. I fixed it and it worked.
Thank you very much.
Hi,
Thanks for the tip. I went to look and it really had duplicate values. I fixed it and it worked.
Thank you very much.
Hi @Thiagops
Is the [PV_CODIGO] unique in the NF_SAIDA table? Any relationship between the two tables?
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 8 | |
| 8 | |
| 7 |