Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

MDX Help

$
0
0
Hi I need to create a new calculated measure for converting my seconds into hh:mm:ss.I have the following mdx code but, get an error on the first "FORMAT" reserved word:iif([Measures].[Call Taking Time] = 0, null, FORMAT(Int([Measures].[Call Taking Time]/86400), "0:") +FORMAT( TimeSerial(0, 0, [Measures].[Call Taking Time] - (Int([Measures].[Measures].[Call Taking Time]/86400) * 86400)),"HH:mm:ss" ) )Can someone please assist?

Viewing all articles
Browse latest Browse all 1341

Trending Articles