Hi There,
To transform data from an Excel file to an unpivoted CSV file, here is expected solution -
Open the Excel file in question. Go to the "Data" tab. Select "Get & Transform Data" and then choose "From Table/Range."
If prompted, convert your data range to a table. In the Power Query Editor, select the columns representing the areas served. Right-click and choose "Unpivot Columns."
Rename the resulting columns to desired names, e.g., "Area Served" and "Value."
Close and load the transformed data back to Excel. Then, "File" > "Save As" and choose CSV as the format.
After these steps, you'll have an unpivoted CSV file with the desired format. Adjust accordingly based on your Excel version or if using Excel Online.
Please give kudos and mark as solution if it helps.
Thanks,
Sandeep Mishra