Skip to main content
Question

Hi Celopeers,Can I put 2 datepickers that will effect 2 different KPI's seperately in the same analysis page? These 2 datepickers should be belong to the same date table column.

  • June 15, 2023
  • 2 replies
  • 3 views

 

I defined variables for the dates in order to operate different KPI's. In my case Base Dates effect KPI 1, Current dates effect KPI2. my dates are variables (Date_1,2,3,4)

as you know datepicker effect the whole analysis.

imageNote: CAUFV.GLTRP is a date table column

 

KPI_1 Component Filters

FILTER

ROUND_DAY("CAUFV"."GLTRP")>= to_date( <%= Date_1 %>,FORMAT('%Y-%m-%d’))

AND

ROUND_DAY("CAUFV"."GLTRP")< to_date( <%= Date_2 %>, FORMAT('%Y-%m-%d’)) ;

 

KPI_2 Component Filters

FILTER

ROUND_DAY("CAUFV"."GLTRP")>= to_date( <%= Date_3 %>,FORMAT('%Y-%m-%d’))

AND

ROUND_DAY("CAUFV"."GLTRP")< to_date( <%= Date_4 %>, FORMAT('%Y-%m-%d’)) ;

 

@bugra cabuk @Ezgi Türksoy​ 

2 replies

karol.trzci12
Level 3
  • Level 3
  • 5 replies
  • June 15, 2023

Hi,

 

Try putting your dates not in a date picker but in Variable Input. For me it does the trick and it only changes the KPI which has the variable in it.

image


  • Author
  • Level 8
  • 41 replies
  • June 15, 2023

Hi,

 

Try putting your dates not in a date picker but in Variable Input. For me it does the trick and it only changes the KPI which has the variable in it.

image

Hello,

Thanks for your answer.

I already did as you showed.

But I want to show datepicker calendar.