Hi,
I am stuck with one issue. with timestamp datatype.
My cube has few fields as timestamp data type and in UI it is coming as 22-01-2015 23:55:59.0, I wanted to omit the last ".0".
have tried.
<Level name="Created On" visible="true" column="CREATED_ON_DATE" type="Timestamp" uniqueMembers="false" levelType="Regular" hideMemberIf="Never" description="Created On updd">
<NameExpression>
<SQL dialect="generic">
<=!=[=C=D=A=T=A=[TO_TIMESTAMP(CREATED_ON_DATE,'DD-MM-YYYY HH:MM:SS')]=]=>
</SQL>
</NameExpression>
but it is not working and giving result with .0
<Level name="Created On" visible="true" column="CREATED_ON_DATE" type="Timestamp" uniqueMembers="false" levelType="Regular" hideMemberIf="Never" description="Created On updd">
<NameExpression>
<SQL dialect="generic">
<=!=[=C=D=A=T=A=[TO_CHAR(CREATED_ON_DATE,'DD-MM-YYYY HH:MM:SS')]=]=>
</SQL>
</NameExpression>
this is working but I wanted to be timestamp.
I am using Vertica as Database.
Is there a way I can achieve this.
Please suggest.
Thanks,
Malay
I am stuck with one issue. with timestamp datatype.
My cube has few fields as timestamp data type and in UI it is coming as 22-01-2015 23:55:59.0, I wanted to omit the last ".0".
have tried.
<Level name="Created On" visible="true" column="CREATED_ON_DATE" type="Timestamp" uniqueMembers="false" levelType="Regular" hideMemberIf="Never" description="Created On updd">
<NameExpression>
<SQL dialect="generic">
<=!=[=C=D=A=T=A=[TO_TIMESTAMP(CREATED_ON_DATE,'DD-MM-YYYY HH:MM:SS')]=]=>
</SQL>
</NameExpression>
but it is not working and giving result with .0
<Level name="Created On" visible="true" column="CREATED_ON_DATE" type="Timestamp" uniqueMembers="false" levelType="Regular" hideMemberIf="Never" description="Created On updd">
<NameExpression>
<SQL dialect="generic">
<=!=[=C=D=A=T=A=[TO_CHAR(CREATED_ON_DATE,'DD-MM-YYYY HH:MM:SS')]=]=>
</SQL>
</NameExpression>
this is working but I wanted to be timestamp.
I am using Vertica as Database.
Is there a way I can achieve this.
Please suggest.
Thanks,
Malay