I have a Jmeter ISO8583 Sampler, where we have to paas the request data in the form of Data elements:

Now, I want to put this data in a CSV file and read it from there.
The issue I am getting that it's picking only first data element from CSV.
I need to read all the rows from the CSV file and put it in Iso8583 sampler request and then execute.

If you're using CSV Data Set Config - it will read next line on next iteration of each virtual user. In order to read all values during 1st iteration - convert them into 29 columns instead of 29 rows
In case you cannot control the CSV file format the options are in:
switch to __CSVRead() function
or add a JSR223 PreProcessor as a child of the request and create the values using Groovy language like: