Problem in merging and display prometheus data in table

I would like show data in following screen in single line with respect to time, however it is displaying in different rows. am using prometheus as data source. and metric in following format. please someone help me to achieve it.

Metics:
Dataset01{acode=“test”} 99.79633401221996
Dataset02{acode=“test”} 99.79633401221996

i found a solutions for this problem.

Please share your solution here.