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
krishb1414
Helper III
Helper III

A table of multiple values supplied for VALUES function

Hi Everyone, 

I m getting this error " A table of multiple values supplied where single value is expected "

Dax i have written like this :

IF(SELECTEDVALUE(table(column)) = "Text", VALUES(table(column)), BLANK )

Can u pls help me on this ?

3 REPLIES 3
HotChilli
Super User
Super User

OK, it's a measure.

"return value in card on filtering basis" - that's not really much to go on.

IF(SELECTEDVALUE(table(column)) = "Text",
VALUES(table(column)) <---- this part has to be a single result, i.e. an aggregation or a hardcoded resul
, BLANK )

HotChilli
Super User
Super User

VALUES(table(column)) returns "An entire table or a table with one or more columns" - What are you trying to do here?

And are you creating a calculated column or a measure?

its a measure, i need to return value in card on filtering basis 

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.