BMC - How do I get calculated fields output in a single row
Answered
Hi,
I am creating 2 calculated fields to display the roles as below:
CASE WHEN `TS:H2:PersonRoleSystem`.`Role` = 'Business Solution Owner' THEN `TS:H2:PersonRoleSystem`.`Full Name` END
CASE WHEN `TS:H2:PersonRoleSystem`.`Role` = 'IT Solution Owner' THEN `TS:H2:PersonRoleSystem`.`Full Name` END
When I add this 2 calculations in the columns, the result set is divided into 2 different rows as per the attachment. How do I make this to display the result set in a single column. I have event tried with Sub-queries, but the result was same.
Let me know if it possible to achieve this?
-Bharath
Files:
info_ticket (1)...
Hi Bharath,
I'm assuming the table data is something like this:
in which case I would use the Yellowfin feature called Freehand SQL Report with the following code:
which would then yield the following report:
I hope you like my solution!
regards,
David
Hi Bharath,
I'm assuming the table data is something like this:
in which case I would use the Yellowfin feature called Freehand SQL Report with the following code:
which would then yield the following report:
I hope you like my solution!
regards,
David
Hi Dave,
Thanks for trying that, but our free hand sql does not allow select, from clause :(
-Bharath
Hi Dave,
Thanks for trying that, but our free hand sql does not allow select, from clause :(
-Bharath
Hi Bharath,
thanks for the screen capture, I can see that you are talking about Freehand SQL Calculated Field, whereas I am talking about Freehand SQL Report:
regards,
David
Hi Bharath,
thanks for the screen capture, I can see that you are talking about Freehand SQL Calculated Field, whereas I am talking about Freehand SQL Report:
regards,
David
Hi Dave,
Sorry we are 7.3, don't have the free hand sql feature :( .
-Bharath
Hi Dave,
Sorry we are 7.3, don't have the free hand sql feature :( .
-Bharath
Hi Bharath,
I have checked an instance of a 7.3 BMC build and it definitely has the Freehand SQL Report feature.
I have attached a short video to demonstrate this to you.
regards,
David
Hi Bharath,
I have checked an instance of a 7.3 BMC build and it definitely has the Freehand SQL Report feature.
I have attached a short video to demonstrate this to you.
regards,
David
Hi Bharath,
just wondering how you got along with this matter?
regards,
David
Hi Bharath,
just wondering how you got along with this matter?
regards,
David
Hi Bharath,
just wondering how you got along with this matter?
regards,
David
Hi Bharath,
just wondering how you got along with this matter?
regards,
David
Hi Bharath, hope things are going well over there.
Just wanted to let you know I'll be closing this request due to inactivity.
However, if you ever wanted to re-visit this or have anything else I can help you with, please let me know.
Regards,
David
Hi Bharath, hope things are going well over there.
Just wanted to let you know I'll be closing this request due to inactivity.
However, if you ever wanted to re-visit this or have anything else I can help you with, please let me know.
Regards,
David
Replies have been locked on this page!