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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
kadwy
New Member

lookupvalue error

how can i solve this error

 

A single value for column 'Ticket ID' in table 'TT' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.

 

Yes/NO = IF(LOOKUPVALUE(TT[Problem ID],TT[Problem ID],TT[Ticket ID])=BLANK(),"No","Yes")

 

 

5 REPLIES 5
Anonymous
Not applicable

Hi @kadwy ,

 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution to make the thread closed. More people will benefit from it. 

If not,please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

Hope to hear from you😀

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi @kadwy ,

 

It's suggested to provide me with more details about your table and your expected output or share me with your pbix file after removing sensitive data.

 

Best Regards,
Eyelyn Qin

Anonymous
Not applicable

Hi @kadwy ,

 

Based on my test, the formula you used is applied to column but not measure.

measure error.PNG

 

So you may try this:

Yes/NO Column = IF(LOOKUPVALUE(TT[Problem ID],TT[Problem ID],TT[Ticket ID])=BLANK(),"No","Yes")

or

Yes/NO Measure = IF(LOOKUPVALUE('TT (2)'[Problem ID],'TT (2)'[Problem ID],MAX('TT'[Ticket ID]))=BLANK(),"No","Yes")

The final output is shown below:

LOOKUPVALUE column or measure.PNG

 

If it's not you expected, please provide me with more details about your table and your expected output or share me with your pbix file after removing sensitive data.

 

Refer to:

https://docs.microsoft.com/en-us/dax/lookupvalue-function-dax

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you

  • but I need a formula like VLOOKUP

if a1=value in table 1   yes if not no

arvindsingh802
Community Champion
Community Champion

Create column not measure

 

If this post helps, then please consider Accept it as the solution and give it a thumbs up


If this post helps, then please consider Accept it as the solution, Appreciate your Kudos!!
Proud to be a Super User!!

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.