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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.