cancel
Showing results for 
Search instead for 
Did you mean: 

time dimension on semantic layer

Former Member
0 Kudos

Hi All,

I have a field in my table which has got both date and time.  I want to create a time dimension just shows only time.  Is there anyway we can achieve this my some kind of format for the field where it can shows me just time only.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

which database you are using in backend?

Former Member
0 Kudos

MSSQL 2014

Former Member
0 Kudos

You can try following syntax:

CONVERT(VARCHAR(12),datetime,114) 'hh:mi:ss:mmm'

Just create new object on universe

Time = CONVERT(VARCHAR(12),datetime,114) 'hh:mi:ss:mmm'

where datetime = object which contains date & time.

Thanks,
Swapnil

Answers (0)