Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

YTD Problem

Folks,

I posted this problem earlier but my post wasn't particularly clear.

I have a KPI calculation which involves a count as per below

IF([Incident Category]='RTA',((Count (DISTINCT [V.I.R. Number]) / (sum([Scheduled Miles Value]))

This works perfectly on a monthly basis but I am unable to get this to work on a YTD basis.

I have a flag system in place for my YTD calcs, (Met Pd) is our refernce for month. But I am unable to adapt the formula with the KPI calc to give me the result I want.

=sum({$<[Met Pd]={">=$(#v1Mth) <=$(#v2Mth)"}>} CurYTDFlag).

I would appreciate any help with this.

Many Thanks



0 Replies