Combining queries to create 1 list

Options
Hi, I am only new to Raiser's Edge and can't work out how to combine all my queries into 1 file for sending to the mailhouse. I've created & exported 14 queries - but how do I combine them into 1 file? or do I have to do it manually in excel?
Tagged:

Comments

  • If you have already done the work of exporting them all into 14 unique excel spreadsheets, you can manually copy and paste them all into one spreadsheet and run the Duplicate function in Excel before sending off to the mailhouse.


    In the future, rather than exporting 14 times, use the Merge Queries function in RE. Start by building your 14 queries (although depending on what you're doing, you can probably reduce that number by adding more criteria to your queries), then start to merge them together.... Q1 OR Q2=Q15, Q3 OR Q15=Q16, Q4 OR Q16=Q17, Q5 OR Q17=Q18...etc.  Qith 14 queries, it's a lot of merging, which is why you should look at trying to reduce your number of queries.
  • If this is for a mailing aren't you putting an appeal on records?


    when I do complicated lists that I'm using multiple queries to create, I add an appeal as I go then pull a final list via an export with a simple query for that appeal


    If you decided to try this make sure all queries include criteria for records that do not already have the specific appeal on their record

     
  • I do what Joanne does...except I first use a temporary Attribute that is set to Allow Only One Per Record.  This means I don't have to worry about adding criteria for records already having that Appeal.  Once the list is done and on it's way to the mailhouse, I Import the data back to RE as the Appeal...which also allows for populating fields that aren't available with Global Add.
  • I do what Julie and Alan do. When I first began, I exclusively merged Queries, but after I discovered Query Lists, that has become my new favorite. Both methods work well. But, as Julie recommended, you might look at reducing your number of Queries by using the parentheses and OR functions within the query itself. For instance, rather than having one query to pull Board members, another Query to pull alumni, and a third to pull Alumni parents, it's an easy combo to create one query that pulls:


    Constituency is ONE OF Alumni, Board Member, or Alumni Parent

    or, Attribute equals Alumni Parent OR Constituency equals Board Member OR Solicit code equals Alumni Invitations

    (or however your org has things set up - you get the idea.)


    When you get comfortable with Queries, you can build a more complex one using parentheses. The parentheses work just like an algebra formula, where the items within parentheses are processed first. So, a Query criteria of

    Last Gift greater than 01/01/2015

    AND (Birthdate greater than 1951

    OR First Gift less than 01/01/1996)

    would yield a query of all recent donors who are either elderly or else have been giving to your org for 20+ years.


    As Alan advised, don't export directly from the Query. You'll get plenty of dupes that way, and it's a common rookie mistake. Our former Dev Director did that with a major mailing list while I was on maternity leave last time, and many of our our donors received multiple copies of our appeal - blushing time! As long as you link your Qury to an Export though you'll be fine.
  • Hi, If i understand you correctly - Just in case this hasn't been mentioned... I merge the queries together.. use the " or " function so you don't get duplicates. If it has just ignore me.
  • I'm going to just throw in this comment -- for someone brand new to Raiser's Edge to be given the task of building a query that involves 14 different segmented criteria -- hope whoever is requesting this understands that this involves some training and experience, and is not neceessarily a 'beginner' task - especially if you want to guarantee correct results? 
  • Gina Gerhard:

    I'm going to just throw in this comment -- for someone brand new to Raiser's Edge to be given the task of building a query that involves 14 different segmented criteria -- hope whoever is requesting this understands that this involves some training and experience, and is not neceessarily a 'beginner' task - especially if you want to guarantee correct results? 

    Lol, right on, Gina! It took me three years to get comfortable there, teaching myself everything. If they're going to toss you in the fire, Melissa, you should try to leverage for some official BlackBaud training. I'm a big proponent of self-teaching, but the BlackBaud courses would be a good route for you to learn advanced processes in a hurry.

  • I'm echoing what John Heizer said.  Use Mail, Quick Letters and then the Segment tab.  Not only can you merge queries into one, you can also de-dupe all the records who are in multiple original queries into multiple output queries. As long as you put your queries in a hierarchy - any duplicated in your original input queries will be removed from any subsequent output queries.  This is a very powerful, useful and helpful part of RE.  I NEVER prepare a mailing list without using this functionality.  Go out of your way to try it out - you'll also learn about the time it will save you!

Categories