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

KPI is not working

Hi Folks,

Please find the below QikSene app snippet.

When i am trying to select Type as "Type2", In Type1 and Type3 is shown as "0". But here its showing some value. Its an error.

please correct the below code..

IF(Count({<[Type 1 Count]={'1'},WeekNo={">=$(=Max(WeekNo)-12)<=$(=Max(WeekNo))"}>}Ticket)>0,

Count({<[Type 1 Count]={'1'},WeekNo={">=$(=Max(WeekNo)-12)<=$(=Max(WeekNo))"}>}Ticket),'')

Type Error.PNG

Regards,

Sub2u444

1 Solution

Accepted Solutions
Not applicable
Author

Try this

=IF(Count({<[Type 1 Count]={'1'},WeekNo={">=$(=Max(WeekNo)-12)<=$(=Max(WeekNo))"}>}Ticket)>0,

Count({<[Type 1 Count]={'1'},WeekNo={">=$(=Max(WeekNo)-12)<=$(=Max(WeekNo))"}>}Ticket))

View solution in original post

6 Replies
awhitfield
Partner - Champion
Partner - Champion

HI Subba,

are you able to upload your QVF please?

Andy

sunny_talwar

Not sure, but may be this:

IF(Count({<[Type 1 Count] *={'1'},WeekNo={">=$(=Max(WeekNo)-12)<=$(=Max(WeekNo))"}>}Ticket)>0,

Count({<[Type 1 Count] *={'1'},WeekNo={">=$(=Max(WeekNo)-12)<=$(=Max(WeekNo))"}>}Ticket),'')

Not applicable
Author

Hi Sunny,

Thanks for Your reply.

Its not working.

sub2u444

Not applicable
Author

I am sorry.

Not applicable
Author

Try this

=IF(Count({<[Type 1 Count]={'1'},WeekNo={">=$(=Max(WeekNo)-12)<=$(=Max(WeekNo))"}>}Ticket)>0,

Count({<[Type 1 Count]={'1'},WeekNo={">=$(=Max(WeekNo)-12)<=$(=Max(WeekNo))"}>}Ticket))

Not applicable
Author

Thanks Vijay.

Its working fine.