Skip to main content
Solved

How create current date matric, which fetch current date automatically?

  • July 22, 2022
  • 10 replies
  • 680 views

abhilashsawla
Master Author
Forum|alt.badge.img+7

I want same feature like Today() in Excel.

Best answer by Chris

Hi @jbellcourt     
We don’t currently have a today() function but its definitely on our radar.   
You could use the prorata function.       

Your formula would look something like this.   if(prorata(Month,Project.'start Date',Project.'end Date'+1)=1,true,false)

 

Let me know if that helps. 

10 replies

Forum|alt.badge.img+2
  • Wallflower
  • August 11, 2022

Hi  abhilashsawla I have the same question, did you found a way replicate TODAY() formula in Pigment?

 


abhilashsawla
Master Author
Forum|alt.badge.img+7
  • Author
  • Master Author
  • August 12, 2022

I did not find. 

if you find the solution for the same, please let me know.


  • August 12, 2022

Hi @abhilashsawla @Jose 

Can you tell us a bit more about your use cases and what you are trying to achieve? Depending on your situations, there may be a few solutions to this, and it may be a new feature our product team is working on. 

Looking forward to your response.


Forum|alt.badge.img+1
  • Apprentice Trendsetter
  • August 26, 2022

Hello, 

I was looking to achieve something similar. I was trying to use todays date to determine if a Project is active. The project has a start and end date. I was also trying to use the INPERIOD function but couldn't quite figure if that worked for this. Essentially in Excel it’s an IF statement TRUE/FALSE if todays date falls with in the project start and end date to determine if its active. 

 

Active?:  IF(AND(TODAY()>Start Date, TODAY()< End Date), TRUE, FALSE)


Chris
Wallflower
Forum|alt.badge.img+14
  • Wallflower
  • Answer
  • September 1, 2022

Hi @jbellcourt     
We don’t currently have a today() function but its definitely on our radar.   
You could use the prorata function.       

Your formula would look something like this.   if(prorata(Month,Project.'start Date',Project.'end Date'+1)=1,true,false)

 

Let me know if that helps. 


David Mandl
Wallflower
Forum|alt.badge.img+2
  • Wallflower
  • September 21, 2022

Hi @Tess.Hunt a current date or current year function would be really helpful.
It is usefull for a lot of cases. Currently I would like to dynamicaly filter the displayed years on a metric view and not maintain it year over year.
Regards, David


  • September 21, 2022

Hi @David Mandl . Thanks for your response. As Chris mentioned, it’s definitely on our radar and the use cases everyone has provided here has been fed back to our product team :)


nancy
Wallflower
Forum|alt.badge.img+2
  • Wallflower
  • February 21, 2023

Hi @Tess.Hunt any update on this feature, will this feature be available on pigment soon?


Forum|alt.badge.img+2
  • Apprentice Author
  • June 22, 2024

I can see that the comments are almost a 1 year old. Is this functionality rolled out or still on your radar? 


CDALMAY
Master Helper
Forum|alt.badge.img+14
  • Master Helper
  • June 24, 2024

Hi @Mukul ,

You can leverage the new Metric-to-Metric import and scheduling to build a TODAY() metric, @Stef made a detailed article about this :