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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

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