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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
GotianSA
Contributor
Contributor

Changing decimal value to time format in expression error.

Hi,

I am hoping someone would be able to assist with the problem I have. I have a data set that stores the quantity of actions in a column. The quantity stored of 2 actions (Travel Time and Bytes Labour) is time values stored as decimal values.Data.JPG

 I am using the below expression to convert these values to time format based on the Demand Description column. It seems to work except for one of the values that stays in decimal value. Why this is happening or how to resolve this problem would be greatly appreciated.

 =IF(MATCH([bpart_descr],'Travel Time','Bytes Labour'),Interval(qty/24,'hh:mm'),[qty])

Exspression.JPG

 

Labels (1)
1 Reply
Zhandos_Shotan
Partner - Creator II
Partner - Creator II

Very strange thing..

Make sure your [bpart_descr] dim with only one distinct 'Travel Time' value.

Have no idea about other reason.