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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
melhajj
Helper I
Helper I

How To Add Target for KPI Visual ?

Greetings All,

 

I want to use the KPI Visual to display the yearly ratio of Local Employment

 

I have created a measure which works perfectly fine. My measure is

 

LocalEmploymentRatio= ([TotalLocalHeadCount]/[TotalHeadCount]) * 100 (the result is a percentrage since I multiplied by 100)

 

Now I want to plot this measure on a KPI visual and compare it to a target on a yearly basis : I do not have target values coming from the database however I can enter the target values as  provided to me by the business user in a table for each year , for e.g. :

 

Year.    Target

2017.    50%

2018.    45%

2019.    47.5 %

 

I joined the above table with my Date Dimension table on the Year column which is used in a slicer , however whatever year i choose the value is always showing green i.e. I have achieved the target  , for eg for year 2017 my measure is equal to 48 % (below target) but it is showing as green.

 

I am suspsecting the issue is in the way I have entered the Target in the table but whatever I try it does not work. Any guidance would be appreciated.

 

Regards

 

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@melhajj ,

You should create a date like this and join with date table

 

date = date([Year],12,31)

While last date for target , refer this video

https://www.youtube.com/watch?v=yPQ9UV37LOU&t=39s

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

Anonymous
Not applicable

Hi...  Have you checked to make sure that you are calculating your percentages the same way?  You may be displaying the target value as 50%, but the calculation is actually 0.50...  Your measure is multiplying by 100 in your calculation, so 50.00.  Try by removing the "*100" from your measure and see what happens.

 

This may be why you are getting everything showing green.

 

Lou

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi...  Have you checked to make sure that you are calculating your percentages the same way?  You may be displaying the target value as 50%, but the calculation is actually 0.50...  Your measure is multiplying by 100 in your calculation, so 50.00.  Try by removing the "*100" from your measure and see what happens.

 

This may be why you are getting everything showing green.

 

Lou

amitchandak
Super User
Super User

@melhajj ,

You should create a date like this and join with date table

 

date = date([Year],12,31)

While last date for target , refer this video

https://www.youtube.com/watch?v=yPQ9UV37LOU&t=39s

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.