Hi Nithin,
Follow the below steps:
1. Create parameter with a list of all measures required in visual.

2. Create a calculated field like below similarly for y-axis and use parameter 2 instead of parameter 1.

3. Drop the fields in row and column shelves.


Hope it helps!.