Forum Discussion

Companyuser101's avatar
3 years ago

KPI Value does not work

Hello, 

 

my KPI Value does not work.

 

I work with these measures and columns:

 

my kpi: 

 

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

 

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

  • Anonymous's avatar
    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.