Ri: Come conservare le informazioni "giorno" nella colonna solo dopo aver fatto il calcolo della sottrazioneTi suggerisco di usare questo JSL
New Table( "Untitled 2",
Add Rows( 2 ),
New Column( "Start",
Numeric,
"Continuous",
Format( "yyyy-mm-dd", 12 ),
Input Format( "yyyy-mm-dd" ),
Set Selected,
Set Values( [3638217600, 3647462400] )
),
New Column( "Complete",
Numeric,
"Continuous",
Format( "y/m/d", 10 ),
Input Format( "y/m/d" ),
Set Values( [3668457600, 3660595200] )
));
New Column( "Day is what I need",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Date Difference( :Start, :Complete, "Day" ) )
)
Come conservare le informazioni "giorno" nella colonna solo dopo aver fatto il calcolo della sottrazionePotresti aiutare a controllare questa domanda, non è stata risolta, grazie.
Sotto gli script, non si può solo ottenere "giorno" e non mostrare "hr: m"; C'è un modo solo per ottenere le informazioni del giorno? Ignora l'informazione "hr: m"? Uso JMP12
La tabella dei dati è di seguito:
Il giorno è l'unico che voglio dopo il completo avvio.
start Complete Duration = Complete-Start Cambia formato Il giorno è quello di cui ho bisogno
16-04-2019 2020-03-31 30240000: 350: 00: 00 350
01-08-2019 2019-12-31 13132800: 152: 00: 00 152
Gli script non funzionano1:
New Column( "Required Period 3",
Numeric,
"Continuous",
Format( ":day:hr:m", 14 ),
Input Format( ":day:hr:m" ),
Formula( :Target Completion - :Target Start ),
Set Selected
);
Gli script non funzionano 2:
New Column( "Required Period",
Numeric,
"Continuous",
Format( "Best", 12 ),
Date Difference( :Target Completion - :Target Start ),
"Day",
"fractional"
);
ScriptingRi: Come conservare le informazioni "giorno" nella colonna solo dopo aver fatto il calcolo della sottrazioneQuesto funziona in JMP12; Grazie mille
New Column( "Required Period",
Numeric,
"Continuous",
Format( "Best", 12 ),
Formula( Date Difference( :Target Start, :Target Completion, "Day" ) )
);