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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
sebastianslz
Frequent Visitor

How to get the rating average

I need to obtain the average of grades that have been assigned to the technicians who have solved ticket, the problem I have is that I only need to obtain the average of grades where they are greater than 0 and not on the total of all tickets.

I am using the Average function but it gets me the average of all tickets, I only need to get the average of tickets where their rating is greater than 0.

The following is a small example I created from the ticket table:

Ticket IDTechnicalCalification
10001Kevin0
10002Elsa0
10003Luke0
10004Bailey5
10005Billy2
10006Elsa4
10007Kevin5
10008Luke5
10009Luke5

 

1 ACCEPTED SOLUTION
LuizKoller
Resolver I
Resolver I

Hello!

AVERAGEX(
    FILTER(
        'Table',
        'Table'[Calification] > 0
    ),
    'Table'[Calification]
)

View solution in original post

1 REPLY 1
LuizKoller
Resolver I
Resolver I

Hello!

AVERAGEX(
    FILTER(
        'Table',
        'Table'[Calification] > 0
    ),
    'Table'[Calification]
)

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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