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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Companyuser101
Helper II
Helper II

KPI Value does not work

Hello, 

 

my KPI Value does not work.

 

I work with these measures and columns:

Companyuser101_0-1681726402362.png

 

my kpi: 

Companyuser101_1-1681726418910.png

 

but my values work on the card visual on their own:

 

Companyuser101_2-1681726531527.png

My calculations: 

Order YTD = CALCULATE(SUM(Orders[Order]),DATESYTD('Datum (RS, wS & Target)'[Date],"12/31"))
 
Orders LYTD = var _max = date(year(today())-1,month(today()),day(today()))
return
calculate(SUM(Orders[Order]),datesytd(DATEADD('Datum (RS, wS & Target)'[Date],-1,YEAR)),filter(ALL('Datum (RS, wS & Target)'),'Datum (RS, wS & Target)'[Date] <=_max ))

 

orders is a column with the values "0" and "1" 

 

Thanks in advance!

1 REPLY 1
Anonymous
Not applicable

Hi  @Companyuser101 ,

A Key Performance Indicator (KPI) is based on a specific measure and is designed to help you evaluate the current value and status of a metric against a defined target. See: https://docs.microsoft.com/en-us/power-bi/power-bi-visualization-kpi

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data. We can better understand the problem and help you

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.