Forum Discussion
Report Builder export to csv double quotes
- Anonymous1 year ago
Hi LolaVeci ,
Thank you for your patience! I truly appreciate your time and effort in clarifying your requirements. Your detailed explanation has provided valuable insight.- Right-click on the column header ,Click Expression.
- Update the expression to enclose the header text in double quotes
- Repeat this step for all column headers.
- Right-click on each data field in the Tablix (one column at a time).
- Click Expression.
- Use the following format to enclose the data in double quotes:
- Replace the existing value with:
= """" & Fields!YourColumnName.Value & """" - Repeat this for all data columns(except headers) in the table.
- Replace the existing value with:
Please refer the screenshot for more understanding.
This is the exported csv output.
I hope this solution works for you.If this helps, please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thank you for being a part of the Microsoft Fabric Community Forum!
If I put No Output, it does not show me the header of the report and if I put Output, it repeats the header. I need it to be displayed like this in Excel:
In Excel it is displayed like this:
- Anonymous1 year agoNot applicable
Hi LolaVeci ,
Thank you for the confirmation.1.Modify expressions for both headers and data fields using below expression:
= """" & Fields!YourField.Value & """"2.Right-click each individual data column except header row.
- Click Properties โ Find DataElementOutput.
- Set DataElementOutput = NoOutput
- Do NOT set NoOutput for the entire header row. This would remove the headers completely.
3.Run the report in Report Builder.
Click Export ,then select csv to exprot the file.
Attaching the output screenshot for your reference
If this post helps, please give us Kudos and consider Accept it as a solution to help the other members find it more quickly.
Thank you for being a valued member of the Microsoft Fabric Community Forum!