Loading

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

Data pubblicazione: Apr 29, 2025
Operazione

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

 

Fasi
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)].
 
Numero articolo Knowledge

001465317

Allegati

Book1.twbx

46 KB

test.xlsx

8 KB

 
Caricamento
Salesforce Help | Article