Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

HH:MM format which converting from SSRS to excel

$
0
0

Hi All;

Below is my query for converting minutes to hh:mm format which runs fine

ct.new_totalhours AS 'Total Hours', 

CAST(ct.new_totalhours / 60 AS VARCHAR(10)) + ':' + RIGHT('0' + CAST(ct.new_totalhours % 60 AS VARCHAR(2)), 2) AS [HH:MM], 

I am using HH:MM field in my ssrs report to display the result 

But wjen exported to excel the properties for HH:MM shows general 

Is there a way to convert in hh:mm format in excel ?

Any suggestion much appreciated

Thanks


Pradnya07


Viewing all articles
Browse latest Browse all 10045

Trending Articles