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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.