Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Converting minutes into 30 minute time slots

Hello

I have a grid chart that I need to drilldown on time.

I have created a group based on a field that contains minutes.

The top level of the group is hours and I have done this.

However, the second level of the group needs to be 30 minute time slots.

e.g.

35 minutes = 0.50

65 minutes = 1.00

85 minutes = 1.00

95 minutes = 1.50

Can anyone advise please?

4 Replies
Not applicable
Author

Try with this:

Create a new field in your table and add in the group:

=Floor(Frac(<DateField>) / MakeTime(1), 0.5) as <FieldName>

Regards,

Ricardo

Not applicable
Author

Thanks Ricardo.

Will try tomorrow in work

azimabadi
Creator III
Creator III

Hi Maseda,

if you have minutes in a field i think this expression can help you:

   

     = Div( Min , 30 ) * 0.5

Mins.png

please find attached QVW for more refrence.

Regards

Peyman

Not applicable
Author

Thanks Reyman.

Again, I will try this tomorrow also.