Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
ZigaD
Contributor
Contributor

KPI Target Days met

Hi

have a small Q for your. need to do KPI, where need to be calculated how many invoices was issued below X days. all invoices below or same as X days are on target.
My data are only to parametrs A as date of order and B date of issue day.

thank you for you assistance

Labels (1)
1 Solution

Accepted Solutions
Kushal_Chawda

Create a day field in script

LOAD *,Date_of_isse - Date_of_order as Days

FROM Data.qvd(qvd);

 

Then you can create KPI using  below expression

=Count({<Days ={"<30"}>} InvoiceNo)

View solution in original post

8 Replies
Kushal_Chawda

Create a day field in script

LOAD *,Date_of_isse - Date_of_order as Days

FROM Data.qvd(qvd);

 

Then you can create KPI using  below expression

=Count({<Days ={"<30"}>} InvoiceNo)

ZigaD
Contributor
Contributor
Author

Hi

got this error

 
Kushal_Chawda

Which error?

ZigaD
Contributor
Contributor
Author

2020-01-08 11_05_16-Qlik Sense Desktop.png

pardon this one

Kushal_Chawda

Hi,

I had just given an example. You should use your actual data source  instead of what I have used.

ZigaD
Contributor
Contributor
Author

i did and also change column names to yours but still the same outcome

in data model view i can see data and i can also use it in analaysis screen

ZigaD
Contributor
Contributor
Author

hi

found solution with only your formula.

=Count({<NetDays={"<=2"}>} InvoiceNo)

where i add one more column in excel with function NetWorkingDays

 

appriciate your help on this topic

Kushal_Chawda

Please mark the appropriate answer as correct So that others can refer for the same problem