Showing results for 
Search instead for 
Did you mean: 

Magento 2.2.0 Export report Problem


Magento 2.2.0 Export report Problem

Magento 2.2.0 export report for sale CSV file Download but Rupees symbol problem.





Please Give me Solution for that.


Tags (2)

Re: Magento 2.2.0 Export report Problem

Hi @teammercywell,


I'm not sure how much this will help but maybe you could check this post:


There they are talking about some alternative ways to print the symbol with HTML. (Is not about Magento the post)

If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Magento 2.2.0 Export report Problem

Problem solution 

Remove ₹ symbol for report export.


getCsvFile function  $this->_getExportTotals()  get totel of csv export remove ₹ symbole.


$demo_array = array();

        if ($this->getCountTotals()) {

            $data = $this->_getExportTotals();

            $count = count($this->_getExportTotals());

            for ($i=0; $i < $count ; $i++) { 

                # code...

                if($i == 0){

                    $demo_array[$i] =  $data[$i];


                $demo_array[$i] = ltrim($data[$i],'₹');




And Other function _exportCsvItem to


foreach ($this->getColumns() as $column) {

            if (!$column->getIsSystem()) {

                $row[] = ltrim($column->getRowFieldExport($item),'₹');



Then cash clear and export report propar forment show 



Tags (1)