Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
drohm002
Creator II
Creator II

relabel values in dimension field

I am making a chart in qlikview, of the table variety.  I have a field called TIME_DAY, which I want to make a dimension.  The values inside TIME_DAY are  1, 2, 3, 4, 5, 6.  How can I display values of '1' as '0600'?

Thanks!

4 Replies
qlikwiz123
Creator III
Creator III

Are you trying to display your time in Military Time format? As in, 6 am is 0600 and 8 pm is 2000?

qlikwiz123
Creator III
Creator III

Try this if that's what you meant.

//Script

SET TimeFormat='hh:mm:ss TT';

Expression syntax:   Timestamp('YourTimeField' ,'hh:mm:ss')

Anil_Babu_Samineni

How can I display values of '1' as '0600'?

What is the Logic behind? For me, This is like Date(MakeTime(Num#(TIME_DAY)+5),'hhmm')

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
MindaugasBacius
Partner - Specialist III
Partner - Specialist III

Could you elaborate more?

1 - 0600

2 - ?

3 - ?

4 - ?

5 - ?

6 - ?

What does it stand for?