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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

Community Blog

Community Blog

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

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Community Summit Australia – Join Online!

Community Summit Australia – Join Online!

Be a part of the leading Microsoft Business Applications digital event, curated for the APAC community.

Top Solution Authors
Top Kudoed Authors