Filtering Web Intelligence Queries Using External Lists

Screen Shot 2021-03-17 at 12.32.44 PM.png

Sometimes a data source, such as a universe does not contain all of the data we wish to use in a report. For example, you may wish to leverage a simple external list of values to cross-reference against data from other data sources, such as a universe in your Web Intelligence report. Such cross-referencing allows for the external list to filter what is displayed in the overall report. Here, explained in detail are two options for bringing in an external list into a Web Intelligence query.


OPTION 1: Copy and paste ID numbers to a Web Intelligence query filter

This is the simplest option and it’s best for cases when your list of ID numbers is smaller, i.e. fewer than 1,000.

Start by pasting your ID list to a blank Microsoft Word document.

Screen Shot 2021-03-17 at 12.33.01 PM.png
 

Press Ctrl-H on your keyboard to open the Find and Replace menu. Type ^p in the Find what box and ; (semicolon) in the Replace with box.

Screen Shot 2021-03-17 at 12.33.13 PM.png
 

Click Replace All.

Screen Shot 2021-03-17 at 12.33.27 PM.png
 

Close the Find and Replace menu. Your list will now appear as one, long string of text where each ID number is separated by a semicolon. This is the required format for Web Intelligence filters.

Highlight and copy the ID list.

Screen Shot 2021-03-17 at 12.33.38 PM.png
 

Close the Word document. Open your Web Intelligence report and navigate to the Query window. Drag the desired ID number field into the Query Filters panel.

Screen Shot 2021-03-17 at 12.33.51 PM.png
 

Press your cursor in the values box of the new query filter. Hit Ctrl-V on your keyboard to paste the list of ID numbers.

Screen Shot 2021-03-17 at 12.34.02 PM.png
 

Click the Run Query button and save the report.

OPTION 2: Filter based on Excel spreadsheet

This is the more formal of the 2 options, but does require more maintenance and usually takes longer to set up.

Start by pasting your ID list to a blank Microsoft Excel document. Be sure to give your ID list a proper column header and make sure that the list begins in Cell A1.

Screen Shot 2021-03-17 at 12.34.17 PM.png
 

Save the Excel document and close.

Screen Shot 2021-03-17 at 12.34.29 PM.png
 

Open BI Launch Pad and log in. Navigate to the folder in which your Web Intelligence report is or will be stored. On the top toolbar, click New > Local Document.

Screen Shot 2021-03-17 at 12.34.41 PM.png
 

Click Browse and select your Excel file. Click the Add button in the lower-right corner.

Screen Shot 2021-03-17 at 12.34.51 PM.png
 

Your Excel file is now uploaded to BusinessObjects.

Screen Shot 2021-03-17 at 12.35.04 PM.png
 

Open your Web Intelligence report and navigate to the Query window.

Screen Shot 2021-03-17 at 12.35.15 PM.png
 

Click Add Query > From Excel.

Screen Shot 2021-03-17 at 12.35.26 PM.png
 

Select the Excel document you had uploaded earlier.

Screen Shot 2021-03-17 at 12.35.38 PM.png
 

Confirm the worksheet you want to pull from, the fields/range you want to look at, and whether your file contains column headers. Assuming your Excel document is well-formatted, you can accept all of the defaults and click OK.

Screen Shot 2021-03-17 at 12.35.48 PM.png
 

This will create a new query tab.

Screen Shot 2021-03-17 at 12.36.00 PM.png
 

Before you can add your filter, you must first click the Run Query button and then save the report. Now, return to the Query Panel. On the query tab containing your Universe query, add a new filter for ID number and select the option for Result from another query.

Screen Shot 2021-03-17 at 12.36.11 PM.png
 

Select the ID number field from your Excel spreadsheet and click OK.

Your query is now filtered using the external list.

Business IntelligenceWeb IntelligenceExternal Lists


















Previous
Previous

SAP BusinessObjects 4.2 SP3 Issue:

Next
Next

Dynamic Label Formatting in Tableau