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
Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

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.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Community Summit North America

Community Summit North America

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

Top Solution Authors
Top Kudoed Authors