Skip to main content
Solved

Dashboard Date Rounding "Weeks" Display Monday's Date instead of Week Number

  • December 31, 2024
  • 2 replies
  • 41 views

Forum|alt.badge.img+1

Is there a way to make the Date Rounding “Weeks” have a format that displays the beginning date of that week?  For example, instead of showing “2024 W52”, I’d like to show “12/23/2024” (which is the date for Monday of W52).

 

 

Best answer by lauraj46

Hi ​@danielklumpp ,

You could add a formula field to your GI with a calculation, something like this:

=DateAdd([CRCase.ReportedOnDateTime], 'd', (-1*DayOfWeek([CRCase.ReportedOnDateTime])+1))

This example will return a Sunday.

Give the formula field a caption such as ‘Week’, and choose a schema for the formula field that is a date.

On the dashboard, you can then round and format by Days and Short Date.

Hope this helps!

Laura

View original
Did this topic help you find an answer to your question?

2 replies

lauraj46
Captain II
Forum|alt.badge.img+8
  • Captain II
  • 568 replies
  • Answer
  • December 31, 2024

Hi ​@danielklumpp ,

You could add a formula field to your GI with a calculation, something like this:

=DateAdd([CRCase.ReportedOnDateTime], 'd', (-1*DayOfWeek([CRCase.ReportedOnDateTime])+1))

This example will return a Sunday.

Give the formula field a caption such as ‘Week’, and choose a schema for the formula field that is a date.

On the dashboard, you can then round and format by Days and Short Date.

Hope this helps!

Laura


Forum|alt.badge.img+1
  • Author
  • Varsity I
  • 84 replies
  • December 31, 2024

@lauraj46 thank you!  Works beautifully.  I was thinking of an approach like adding a column to the GI but didn’t know how to write the formula.  See the week start date instead of week # will make a lot of our dashboards more digestible.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings