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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
ganc
New Member

TICKETS SYSTEM / RANK EMPLOYEES by % / CLOSED TICKET WITHIN RESOLUTION TIME

How can I do a Rank of employees by % of tickets closed on time? 

 

Closed on time column contais values = Yes, No, Open

 

So I need the % of Yes out of total number tickets assigned to the employee and that should give me a rank for employees.

 

 

2 REPLIES 2
v-shex-msft
Community Support
Community Support

Hi @ganc,

According to your description, it seems like you haven't shared any detailed information and sample data.

Can you please share a pbix or some dummy data that keep raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
mh2587
Super User
Super User

Measure %=
VAR CountYes=
    CALCULATE ( COUNTROWS ( Table Name ), ( Table Name[Closed on time] ) == "Yes" )
VAR Total_Count =
    CALCULATE ( COUNTROWS ( Table Name ) )
RETURN
    DIVIDE ( CountYes, Total_Count,0)


Measure Rank = RANKX(Table Name,measure %)
 

Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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