This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid 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
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
Solved! Go to Solution.
@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
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
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
@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
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 24 | |
| 23 |