cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MuraliMani Regular Visitor
Regular Visitor

A table of multiple values was supplied where a single value was expected

Hi,

 

I'm stuck with an error: A table of multiple values was supplied where a single value was expected.

When I try to apply the New Column with measure as follows:-

 

Ownership = IF('Rejection'[DocumentType_Name]="SOP - Substitutions",LOOKUPVALUE('Help'[Group],'Help'[Rejection reason],'Rejection'[Rej_Reason]),LOOKUPVALUE('Help'[Group],'Help'[Rejection reason],'Rejection'[Rejection reason + activity]))

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Re: A table of multiple values was supplied where a single value was expected

Hi @MuraliMani

 

Is this a MEASURE or Caclulated Column?

Simple Column References do not work in MEASURES

 

For example
IF('Rejection'[DocumentType_Name]="SOP - Substitutions"

should be written as

IF(selectedvalue('Rejection'[DocumentType_Name])="SOP - Substitutions"

Try my new Power BI game Cross the River

View solution in original post

2 REPLIES 2
Super User III
Super User III

Re: A table of multiple values was supplied where a single value was expected

Hi @MuraliMani

 

Is this a MEASURE or Caclulated Column?

Simple Column References do not work in MEASURES

 

For example
IF('Rejection'[DocumentType_Name]="SOP - Substitutions"

should be written as

IF(selectedvalue('Rejection'[DocumentType_Name])="SOP - Substitutions"

Try my new Power BI game Cross the River

View solution in original post

MuraliMani Regular Visitor
Regular Visitor

Re: A table of multiple values was supplied where a single value was expected

Hi Zubair,

 

It is Caclulated Column.

 

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors