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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors