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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.