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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Numeric Dynamic Rating

Hello Power BI Community,

I am building a performance scorecard having 3 KPIs, which are available as input and I have a reference scale also to assign the rating based on inputs, so I am looking that how this can be built in Table Visual in Power BI

 

What I am looking for help with is that if my KPI 1 is 88% then in column KPI 1_Points it should be populated as 20 (based on the reference scale)

 

KPI 1, KPI 2 and KPI 3 are available and wanted to populate the numbers in columns KPI 1_Points, KPI 2_Points and KPI 3_Points based on the reference scale given below

KPI 1KPI2KPI3KPI 1_PointsKPI 2_PointsKPI 3_Points
88%37   
90%15   
69%48   
77%210   
100%515   
98%011   
81%917   

 

The reference Scale is as given below

 

KPI1Points KPI2Points KPI3Points
100%50 020 < 730
95-99%40 115 8 -1015
91-94%30 210 11- 158
80 - 90%20 35 >15 0
70-80%10 40   
<70%0      

 

Appreciate any help...

 

Thanks & Regards

Samrat

2 ACCEPTED SOLUTIONS
ddpl
Solution Sage
Solution Sage

@Anonymous ,

 

Calculated Column : KPI 1 points

KPI1 Points = SWITCH(TRUE(),
'Table'[KPI 1] = 1,50,
'Table'[KPI 1] < 1 && 'Table'[KPI 1] >= 0.95, 40,
'Table'[KPI 1] < 0.95 && 'Table'[KPI 1] >= 0.91, 30,
'Table'[KPI 1] < 0.91 && 'Table'[KPI 1] >= 0.80, 20,
'Table'[KPI 1] < 0.80 && 'Table'[KPI 1] >= 0.70, 40, 0)
Calculated Column : KPI 2 points
KPI2 Points = SWITCH(TRUE(),
'Table'[KPI2] = 0, 20,
'Table'[KPI2] = 1, 15,
'Table'[KPI2] = 2, 10,
'Table'[KPI2] = 3, 5,
'Table'[KPI2] = 4, 0)
Calculated Column : KPI 3 points
KPI3 Points = SWITCH(TRUE(),
'Table'[KPI3] <=7, 30,
'Table'[KPI3] >7 && 'Table'[KPI3] <=10, 15,
'Table'[KPI3] >10 && 'Table'[KPI3] <=15, 8, 0)

View solution in original post

Anonymous
Not applicable

Thanks, it solved the purpose. Appreciate your help...

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks, it solved the purpose. Appreciate your help...

ddpl
Solution Sage
Solution Sage

@Anonymous ,

 

Calculated Column : KPI 1 points

KPI1 Points = SWITCH(TRUE(),
'Table'[KPI 1] = 1,50,
'Table'[KPI 1] < 1 && 'Table'[KPI 1] >= 0.95, 40,
'Table'[KPI 1] < 0.95 && 'Table'[KPI 1] >= 0.91, 30,
'Table'[KPI 1] < 0.91 && 'Table'[KPI 1] >= 0.80, 20,
'Table'[KPI 1] < 0.80 && 'Table'[KPI 1] >= 0.70, 40, 0)
Calculated Column : KPI 2 points
KPI2 Points = SWITCH(TRUE(),
'Table'[KPI2] = 0, 20,
'Table'[KPI2] = 1, 15,
'Table'[KPI2] = 2, 10,
'Table'[KPI2] = 3, 5,
'Table'[KPI2] = 4, 0)
Calculated Column : KPI 3 points
KPI3 Points = SWITCH(TRUE(),
'Table'[KPI3] <=7, 30,
'Table'[KPI3] >7 && 'Table'[KPI3] <=10, 15,
'Table'[KPI3] >10 && 'Table'[KPI3] <=15, 8, 0)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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