Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
i'm looking for creating my Time axis with default time syntax:
In my database i have at my disposal , a variable for the day, an other one for the month and so forth
and i concat them to have this format
i got 3 problemes:
Thanks in advance for the help
Hi thanks for the advice,
indee the floor function allow me to get the integer value i want.
1: But as i try to concat, the string become long so i have to give it a name :wholç_string as Datetime_EXT ( at the end of the really long line you can't see.) but as i load, "ERROR Field Datetime_EXT not found" same for the TimestampFormat wich is set in the data load script : "ERROR Field TimestampFormat not found"
i guess its not the way it works
2: even tho i put the whole string ( 7th line) in the Timestamp(Timestamp#( whole_String)) without specify the format like in this exemple ( https://help.qlik.com/en-US/sense/November2018/Subsystems/Hub/Content/Sense_Hub/Scripting/Interpreta...), it return nothing to me
The good point, is : my whole string returne me a string which looks like the good format, but ain't recognized as calendar data by qlik
Hi, it can be something like this:
Table:
// this is a preceding load, uses the calculated fields of the LOAD below
LOAD *,
timestamp(timestamp#(day &'/'& month &'/'& year..., 'DD/MM/YYYY hh:mm:ss TT'))
;
LOAD Num(Floor(...-col1), '00') as day,
Num(Floor(...col2),'00') as month,
Num(Floor(...col3),'0000') as year
...
this is the only configuration of code without errors (field not found), if i try to interchange one of the LOAD. it give me the field not found
it doesnt give me anymore errors but still one more step!
the sum(timestamp) display something irrelevant..., alone: display nothing
i might block here ...i dont understand why he deosnt take value of day , month year...