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.

  • Jun 15, 2023 7:54 AM UTC
  • 2 replies
  • 218 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 4

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


  • Jun 15, 2023 9:30 AM UTC

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.