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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Jeff505
Frequent Visitor

KPI Target Goal issue

Hey all, new to powerBI and having a little trouble with the KPI visulization. 

 

Issue: when using an average measure for some data, the Target Goal in the KPI does not use the average number. It appears to just take the current data number.

 

Example:

 

KPI Indicator feild value: 207
Value from my Average measure: 177.78

Using my Average measure for the Target Goal in the KPI produces "Goal: 207.00"

 

 

Here's a sample of the data used for the average measure (Average = average(Weekly History[Total Opened])

Week             Total Opened

2018-08-19116.00
2018-08-26127.00
2018-09-02162.00
2018-09-09184.00
2018-09-16204.00
2018-09-23218.00
2018-09-30177.00
2018-10-07205.00
2018-10-14207.00

 

Any ideas would be greatly appreciated! 

 

Cheers, Jeff

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @Jeff505

You should modify your measure as below in your scenario.

Measure = CALCULATE(AVERAGE(Table1[Total Opened]),ALL(Table1))

2.png

 

Best Regards

Maggie

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @v-juanli-msft , I have a similar requirment and came across this solution, thank you!

 

Understand that "ALL" removes all filters, but any thoughts how to make this measure work with a date slicer?

Let's say I need to select september dates only, in this case average will be (162+184+204+218+177)/5=189, and the KPI visual will display red - 177 (last value in september), goal 189 (average for september) 

So in other words ALL will remove filters for the KPI visual calculations, and yet apply date filter as specified by the date slicer. 

 

Tried with ALLEXCEPT, but it won't help as we are still workign with the same Date column for which filter is not needed (KPI visual) and needed (date slicer) 

 

Thank you! 

Anonymous
Not applicable

By simply using ALLSELECTED instead of ALL 😀

Answered my own question. Please disregard the question above.

v-juanli-msft
Community Support
Community Support

Hi @Jeff505

You should modify your measure as below in your scenario.

Measure = CALCULATE(AVERAGE(Table1[Total Opened]),ALL(Table1))

2.png

 

Best Regards

Maggie

Awesome, thanks @v-juanli-msft!

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.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.