Hi
I have below View but it is not displaying Level data in 1 row. Image attached

Hi
I have below View but it is not displaying Level data in 1 row. Image attached

Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ramco RamcoPosted Nov 14, 2022, 5:04 AM
Hi Amit
Below is the query . I want to display data in 1 row .In below code there are 12 levels , i want data in 1 rows.
I am following this link - https://www.datameer.com/blog/sql_how-to-use-pivot-to-convert-rows-to-columns-in-sql-server-db/
Hi Amit
If i comment below lines then it is working fine , but i want to add these columns also.
--,L.[LogDetail] [Status]
--,L.[RequestDate] [Entry Date]
--,L.[ApprovalDate] [Completion Date]
--,DATEDIFF(d,L.[RequestDate],L.[ApprovalDate]) as [Total Days]
Thanks
Amit MohantyPosted Nov 14, 2022, 4:56 AM
Can uoy please explain your issue more properly?