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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
tmears
Helper III
Helper III

KPI INdicator

Hi

 

i wonder if anyone can help or have a suggestion.  I have produiced a kpi Iindicator with the goals as as YTD Sales Target.  This is against a number of product items.  It works fine unless no monthly data is produced in the indicator column.  For example:

 

Product A

Month        Sales       Target

April          £5000      £5000

May          £5000      £5000

June          £0           £5000

 

the YTD goal in this instance will show £10000 as there are no sales in June, therfore 100%, however i would like it to show a gaol £15,000 and therfore 66% on the 1st of the month as this is when the new monthly target/goal is applied.

 

If i change the trend axis to show blank, i get (Blank) nan etc

 

Has anyone got any suggestions??

3 REPLIES 3
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @tmears,

 

According to current description, you want a KPI to show Target 15000 and Actual  10000, then calculate the percentage 66%, right? Do you want those values to be calculated dynamically depend on the date change?

 

Why did you remove the trend axis? In a KPI visual, trend axis section cannot be blank, otherwise, it will cause the visual blank.

 

Would you please share some sample data and elaborate your desired output with examples?

 

Regards,
Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
vanessafvg
Community Champion
Community Champion

@tmears

 

to create dummy rows i always do an if isblank, dont know if that will work but give it a bash

 

sales =
IF ( ISBLANK ( SUM ( table[sales] ) )0SUM ( table[sales] ) )





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




thanks for the quick response, this is a direct query, so have to admit not sure how i would apply this?

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.