Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
antoniodneto
Creator II
Creator II

LOCK A FILTER VALUE KPI

Hi Guys I have one KPI with this expression

=sum({1<DATA_BASE={"$(=Date(AddMonths(Max(Date#(DATA_BASE,'YYYYMM')),-3),'YYYYMM'))" }>}OVER_NOTA_AUX)

I'm using "1" to ignore my filters, but when I select anything from DATA_BASE field my KPI changes, any ideas?

Tks a lot!

1 Solution

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

=sum({1<DATA_BASE={"$(=Date(AddMonths(Max({1}Date#(DATA_BASE,'YYYYMM')),-3),'YYYYMM'))" }>}OVER_NOTA_AUX)

View solution in original post

5 Replies
dplr-rn
Partner - Master III
Partner - Master III

Put a 1 on your inner max expression as well
dplr-rn
Partner - Master III
Partner - Master III

=sum({1<DATA_BASE={"$(=Date(AddMonths(Max({1}Date#(DATA_BASE,'YYYYMM')),-3),'YYYYMM'))" }>}OVER_NOTA_AUX)

antoniodneto
Creator II
Creator II
Author

Tks so much!! It worked pretty fine!!!

dplr-rn
Partner - Master III
Partner - Master III

happy to help
muhammadushaque
Contributor II
Contributor II

But it's not working for me on this condition..

count({<[VIEW_NBOREPORT.ISSUANCE_YEAR]={'$(vMaxYear)'},
[VIEW_NBOREPORT.ISSUANCE_DATE]={'$(vMaxDate)'},
[VIEW_NBOREPORT.ISSUANCE_MONTH]=,[VIEW_NBOREPORT.ISSUANCE_DAY]=,[VIEW_NBOREPORT.ISSUANCE_Month_Year]=
>}
[VIEW_NBOREPORT.POLICY_NO]
)