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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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
v-stephen-msft
Community Support
Community Support

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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