Loading

How to convert "hh:mm" data to decimal values.

Julkaisupäivä: Apr 29, 2025
Tehtävä

How to convert "hh:mm" data to decimal values.
User-added image

 

Vaiheet
1. Connect to the attached data source.
2. Create a new calculated field as following.
     Name : Convert to decimal value
     Calculation : (DATEPART('hour',[Time])*60+DATEPART('minute',[Time])) / 60
3. Right click and drag [time] to Rows -> Select [time (discrete)].
4. Right click and drag [Convert to decimal value] to Text on Marks -> Select [SUM (Convert to decimal value)].
 
Knowledge-artikkelin numero

001465317

Liitteet

Book1.twbx

46 KB

test.xlsx

8 KB

 
Ladataan
Salesforce Help | Article