Re: Create CSV with sub columns
Hi @venka91
A csv is just comma separation between fields, a text file. How would you want the first two rows to be formatted in CSV?
Sl No,Tag no,01-May-22,02-May-22,03-May-22,04-May-22,05-May-22
,,M,E,M,E,M,E,M,E,M,E
OR
,,01-May-22,02-May-22,03-May-22,04-May-22,05-May-22
Sl No,Tag no,M,E,M,E,M,E,M,E,M,E
You just need to remove the original header and append the chosen header to the CSV Output

Here is the output:

I started with option 1, option 2 option 3 as the header but ended up with two new headers, including a sub header.
Cheers
Damien
Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts. Thanks