cancel
Showing results for 
Search instead for 
Did you mean: 

DATE function for key figure calculation

andrew_craven
Explorer
0 Kudos

Hi all,

My S&OP planning area has lowest buckets in months. However I would like to extract the current day (ie 25 when today is 25th May) within a key figure calculation. This would typically be some kind of date function. Anyone done this before/ have any suggestion?

Regards

Andrew

Accepted Solutions (1)

Accepted Solutions (1)

parveen_kumar6
Advisor
Advisor
0 Kudos

Hello Andrew

Can you try the function now()? It should return the current date and time (localtime of the server timezone) as date.

Thanks

Parveen Kumar

sourojit_pal
Participant
0 Kudos

Hi Praveen,

Can we use this function in TREX command?

Regards,

Sourojit

Answers (2)

Answers (2)

andrew_craven
Explorer
0 Kudos

Thanks colleagues for your prompt response. As discussed I will raise an incident on this for more detailed analysis.

Regards

Andrew

kimon_stergakos
Explorer
0 Kudos

did you ever get an answer?

kimon_stergakos
Explorer
0 Kudos

did you get an answer on your question?

yeushengteo
Advisor
Advisor
0 Kudos

Hello Andrew

Try IF ((to_char((utctolocal(now(),'CET')),'DD')) = '25') works?

Regards.

YS