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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
izzu
Frequent Visitor

Trying to Create conditional Column or formatting based on performance

Trying to Create conditional Column or formatting based on Ticket handel (performance) in a Metrix Tabel

Condition should be if - Ticket Assigned No - is More , Breach Ticket No - is Less , Ticket Open No - is Less , Ticket Closed - is more , Work order - is More , SR Created - is Less - Should be Good , then fair , and Poor

Assigned toTicket Assigned NoBreach Ticket NoTicket Open NoTicket ClosedWork orderSR CreatedPerformance 
Lucy1021903Fair
Sam15821328Poor
Rakesh25412452Good
Pamela2002150Good

 

4 REPLIES 4
Anonymous
Not applicable

To be honest, I don't understand your real needs, @izzu .

I can only see that you want to create a conditional column named Performance.

The Performance column is based on the countings of the previous columns.

I would like to ask you to explain in detail what constitutes Fair, Poor, and Good in the Performance column.

For conditinal calculating, we often use IF() or SWITCH() to return results.

IF function (DAX) - DAX | Microsoft Learn

SWITCH function (DAX) - DAX | Microsoft Learn

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

izzu
Frequent Visitor

Hi Bmejia , let me try to put another way , in my Metrix visula I have column Agents name and Count of Tickets assigned and ticket status count handel by them (i.e.. Ticket Assigned Count, Breach Ticket Count , Ticket Open Count  , Ticket Closed , Work order , SR Created ) I need to create Performance Column based on tickets handeled , and createria should be based on the Ticket Count and Status Count ( i.e.. Least Breach Ticket , Least Open Ticket , Least Created Ticket, High Assigined Ticket, High Work Order , High Closed Ticket - will Good and Fair and Poor)

I am sorry, but I still don't understand how you get to your performance of good, fair and poor.   If somebody understand Izzu please help out.  a example of how you calculate each of the performace would be helpfull do you compare values and give it a score or you multiply or subtract values etc..

Bmejia
Super User
Super User

Hi Izzu,
You need to provide more information on your calculation.  you telling us that "Ticket Assigned NO  - is more",  more/less then what value? What makes something to have a fair, poor or good performance?


Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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