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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
KarmaP
New Member

KPI to show % sum of values instead of last value

 
I have a set of KPI cards I am creating that I want to show the total percentage instead of the last %. I have tried using the stand alone Microsoft KPI card and I have also tried the KPI Indicator visual that is available for download. The KPI Indicator allows Sum, Average, and Value. Unfortuantley the Average seems to be taking the average of all the %s in the dataset and not the values of the dax formula in totality.

 

The KPI sparkline graph looks great and exaclty correct, its just the KPI value that is wrong. Example data with what it is doing now vs what I want it to do.

 

2023-03-12_10-25-11.png

 

 

 

6 REPLIES 6
Nabha-Ahmed
Kudo Collector
Kudo Collector

hi @KarmaP 

Thanks for the explanation! That makes sense — the KPI card was averaging the row-level percentages instead of calculating the overall percentage from totals. Your solution with SUM(Value) / SUM(Total) is exactly what I needed. Appreciate you sharing it!

 

 

Nabha-Ahmed
Kudo Collector
Kudo Collector

hi @KarmaP 

Thanks for the explanation! That makes sense — the KPI card was averaging the row-level percentages instead of calculating the overall percentage from totals. Your solution with SUM(Value) / SUM(Total) is exactly what I needed. Appreciate you sharing it!

 

 

LaurelB
New Member

Were you able to find a resolution to this? I'm having the same problem. KPI visual shows the last month's metric, but I want to show the metric percent over the full time period.

Hi,

Share some data to work with and show the expected result.  Share data in a format that can be pasted in an MS Excel file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
amitchandak
Super User
Super User

@KarmaP , Are you using a measure like

 

divide( sum(Table[Expense Amount]), Sum(Table[Base Amount]) )

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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

Can't post right now but yea I am doing that exact formula.  Very simple. 

the KPI will return the last value in the time series. So for this example doing the formula you suggest returns 5% when using the standard PowerBI KPI visual. 

when trying the downloaded KPI indicator visual it shows the same but as the option for sim or average instead of last value. The sum just adds up all the %s which is wrong and the average isn't right either. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors