CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Separate/Remove currency info when exporting data as CSV
Pages: [1]

Author Topic: Separate/Remove currency info when exporting data as CSV  (Read 1178 times)

petermcandrew

  • I’m new here
  • *
  • Posts: 15
  • Karma: 4
    • The Green Party
  • CiviCRM version: n/a
  • CMS version: n/a
  • MySQL version: n/a
  • PHP version: n/a
Separate/Remove currency info when exporting data as CSV
July 28, 2011, 09:10:47 am
One of our clients exported a contribution report as a CSV file and was trying to sum a currency field in the report.  However because the field contains the currency symbol it does not sum up and produces an error or zero value (tested in Excel and OpenOffice and CiviCRM 4.0 / Drupal 7 Demo).

Removing the symbol altogether allows them to sum but it does mean some information is lost (this is the simplest solution that we would like to submit a patch for).

We could always move the currency to a separate column (this is what happens in the find contributions export).  This is a bit more complex but perhaps not that difficult with a bit of help.

What do you guys think?
Peter McAndrew
The Green Party

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Separate/Remove currency info when exporting data as CSV
July 28, 2011, 10:00:07 am
Not sure how hard it would be, but putting in separate column seems like a good solution. I suspect folks w/ multiple currencies would want to be able to sort the rows by currency to get subtotals etc.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Separate/Remove currency info when exporting data as CSV

This forum was archived on 2017-11-26.