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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.