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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Filter error. The expression refers to multiple columns.

The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.

Ashraf_HK_0-1631544133190.png

 

1 ACCEPTED SOLUTION

You could use just that column instead of the whole table then.

 

WorkerName = FILTER ( VALUES ( Worker[WorkerName] ), Worker[WorkerName] = "Once Off" )

View solution in original post

4 REPLIES 4
AlexisOlson
Super User
Super User

FILTER returns a table whereas Power BI is expecting a single scalar value. What are you trying to return instead of a table?

Anonymous
Not applicable

Just a field name Worker[WorkerName] = "Once Off"

You could use just that column instead of the whole table then.

 

WorkerName = FILTER ( VALUES ( Worker[WorkerName] ), Worker[WorkerName] = "Once Off" )
Anonymous
Not applicable

Great bro. It's working perfectly.
Thanks a alot.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.