Answers.Body: <p>I just tried this (at Stoob's request) on one report &amp; it seemed to only require a couple of lines -</p>
  
  <p><a href="https://github.com/eileenmcnaughton/nz.co.fuzion.extendedreport/commit/fb5ba0d47b1c4fea651fcec5760497bf204c5b56" rel="nofollow">https://github.com/eileenmcnaughton/nz.co.fuzion.extendedreport/commit/fb5ba0d47b1c4fea651fcec5760497bf204c5b56</a></p>
  
  <p>Note that there are several price set reports &amp; this might not be the one you were focussed on but the principle should be the same</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-10T04:48:08.880Z
Answers.LastActivityDate: 2015-11-10T04:48:08.880Z
Answers.UserDisplayName: eileen
Answers.Body: <p>I do think expanding the report might be the way forward. If you are developer you could expand on Eileens extension and expand the report code in that extension. That way you also giving back to the community!</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-09T09:06:58.430Z
Answers.LastActivityDate: 2015-11-10T20:03:09.190Z
Answers.LastEditDate: 2015-11-10T20:03:09.190Z
Answers.UserDisplayName: Jaap Jansma - CiviCooP
Body: <p>An organization sells a variety of membership types.   The goal is to generate an exported CSV that will contain name, address, membership type, and amount paid for that membership. </p>
  
  <p>Two types of memberships are the same price, and CiviDiscount is in use regardless.  Thus total amount of the membership contribution is not a reliable way to determine which membership type someone has purchased.</p>
  
  <p>Unless I use price sets and the 'extended reports' extension from Eileen, I cannot find a way to export "membership type (membership)" as well as "total amount (contribution)" data in the same CSV export.  </p>
  
  <p>But this extended report doesn't contain address.  So time to expand that report I guess?</p>
  
  <p>Am I missing an easier solution here?</p>
  
  <p><a href="https://i.sstatic.net/n4B0j.png" rel="noreferrer"><img src="https://i.sstatic.net/n4B0j.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-12T20:46:45.763Z
Comments.Text: Is a Drupal View an option?
Comments.UserDisplayName: pmoz
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-11-12T22:36:07.077Z
Comments.Text: You could export the view to a csv with View Data Export
Comments.UserDisplayName: pmoz
Tags: <civimember><civireport><price-sets>
Title: Exporting membership type and contribution total amount
ThreadText: # Exporting membership type and contribution total amount
  
  (Asked by: username_0 on 2015-10-26)
  
  An organization sells a variety of membership types. The goal is to generate an exported CSV that will contain name, address, membership type, and amount paid for that membership.
  
  Two types of memberships are the same price, and CiviDiscount is in use regardless. Thus total amount of the membership contribution is not a reliable way to determine which membership type someone has purchased.
  
  Unless I use price sets and the 'extended reports' extension from Eileen, I cannot find a way to export "membership type (membership)" as well as "total amount (contribution)" data in the same CSV export.
  
  But this extended report doesn't contain address. So time to expand that report I guess?
  
  Am I missing an easier solution here?
  
  [![enter image description here](https://i.sstatic.net/n4B0j.png)](https://i.sstatic.net/n4B0j.png)
  
  **Tags:** civimember, civireport, price-sets
  
  > **Comments:**
  > **username_1**: Is a Drupal View an option?  
  > **username_1**: You could export the view to a csv with View Data Export  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2015-11-10. Score: 2 | Accepted answer
  
  I just tried this (at Stoob's request) on one report & it seemed to only require a couple of lines -
  
  <https://github.com/username_2mcnaughton/nz.co.fuzion.extendedreport/commit/fb5ba0d47b1c4fea651fcec5760497bf204c5b56>
  
  Note that there are several price set reports & this might not be the one you were focussed on but the principle should be the same
  
  
  ---
  
  ### Answer by username_3 on 2015-11-09. Score: 0
  
  I do think expanding the report might be the way forward. If you are developer you could expand on Eileens extension and expand the report code in that extension. That way you also giving back to the community!
  
  
  ---
  
  