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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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