cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Filter Measure Error - The expression refers to multiple columns....

I have a table of all our tickets and I want to display a number, that number being all the tickets out of SLA.

 

SLA = Filter(AllTickets, AllTickets[SLA Resolve By Deadline] < TODAY())

 

but I get

 

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Memorable Member
Memorable Member

Re: Filter Measure Error - The expression refers to multiple columns....

Measures take a collection of rows, and return a single value (a scalar value).  Your current measure is... not doing that, the filter will take a set of rows and return a smaller set of rows.

 

By simply wrapping it in some aggregate function (in this case COUNTROWS) you will be dancin' 🙂

 

SLA := COUNTROWS(Filter(AllTickets, AllTickets[SLA Resolve By Deadline] < TODAY()))

 

View solution in original post

1 REPLY 1
Highlighted
Memorable Member
Memorable Member

Re: Filter Measure Error - The expression refers to multiple columns....

Measures take a collection of rows, and return a single value (a scalar value).  Your current measure is... not doing that, the filter will take a set of rows and return a smaller set of rows.

 

By simply wrapping it in some aggregate function (in this case COUNTROWS) you will be dancin' 🙂

 

SLA := COUNTROWS(Filter(AllTickets, AllTickets[SLA Resolve By Deadline] < TODAY()))

 

View solution in original post

Helpful resources

Announcements
June 2020 Community Highlights

June 2020 Community Highlights

Featured community members, changes to the Community, and more! Read up on recent Power BI community news.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors