I have a scenario where for a purchase i can be paid with either cash,card or voucher are all the above three. But i need a report to show the all the payment types in seperate lines but i captured all these value in a single row. the problem is how to transfer the rows values into columns .
For Ex.
╔═════════════════════════════════════════════════════╗
║ Order Amount Cash Card Voucher ║
╠═════════════════════════════════════════════════════╣
║ Purchase1 1000 500 300 200 ║
╚═════════════════════════════════════════════════════╝
but i need the result has
╔══════════════════════════════════╗
║ Order Amount PayType ║
╠══════════════════════════════════╣
║ Purchase1 500 Cash ║
║ Purchase1 300 Card ║
║ Purchase1 200 Voucher ║
╚══════════════════════════════════╝
Let can provide your suggestions to accomplish the above format.