Skip to main content
Solved

Converting date column to month dimension

  • April 5, 2023
  • 3 replies
  • 803 views

Forum|alt.badge.img

 

Best answer by Keiran

Hi Hamza,

 

I’ve used some sample data I have for an example here, in the Transaction List I create a Property with the Dimension Month

 

I then select this dimension to add a formula

 

I then use the TIMEDIM function | Community (gopigment.com) to write the formula

TIMEDIM(Ticket_Data.'Raised Date',Month)

 

This gives me the correct dimension.

 

Hopefully this helps! :)

3 replies

Mat
Wallflower
Forum|alt.badge.img+6
  • Wallflower
  • April 5, 2023

Hi @Hamza, thanks for your question!

If I’ve understood your post correctly, you will need to use the following function in your formula definition on the property that will hold the month. Try the following format:

TIMEDIM(BlockName.Property, Month)

If your Month dimension exists in another application, I’d advise using the autocomplete dropdown to make sure you’re properly referencing that dimension.

Hope this helps!


Keiran
Employee
Forum|alt.badge.img+11
  • Employee
  • Answer
  • April 5, 2023

Hi Hamza,

 

I’ve used some sample data I have for an example here, in the Transaction List I create a Property with the Dimension Month

 

I then select this dimension to add a formula

 

I then use the TIMEDIM function | Community (gopigment.com) to write the formula

TIMEDIM(Ticket_Data.'Raised Date',Month)

 

This gives me the correct dimension.

 

Hopefully this helps! :)


Forum|alt.badge.img
  • Author
  • Trendsetter
  • April 6, 2023

Thank you Mat and keiran, thank you guys it was clear and very heplful