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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Thiagops
Helper II
Helper II

LOOKUPVALUE (A table of multiple values ​​was provided, a single value was expected.)

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)

 

 

decc7c85-fc16-4506-8113-df60f46939b8.png

1 ACCEPTED SOLUTION
Thiagops
Helper II
Helper II

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.

View solution in original post

2 REPLIES 2
Thiagops
Helper II
Helper II

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.

tamerj1
Super User
Super User

Hi @Thiagops 
Is the [PV_CODIGO] unique in the NF_SAIDA table? Any relationship between the two tables?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.