Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OLAP 2007

Status
Not open for further replies.
Jun 12, 2009
123
GB
Hi All,

I am new to MS Excel and olap connection. I have connected to the olap cube and placed two fields in the report filter.

field 1
field 2

Now I want to code to bring back data where it meets the following condition

field 1 or field 2
or (field 1 and field 2)

Where do I code this?

I am using MS Excel 2007.

Many Thanks
 
Here's Microsoft's reference dealing with the OLAP cube, it says:

Here's a reference showing how to build an OLAP Cube:

You'll notice that last reference specifically is using MS Query. So if you're talking about an OLAP Cube, and don't know what MS Query is, you probably need to do some more research.

The link I put in my first reply tells you the basics of how to use MS Query to connect to an external data source. So I'd start looking there.

If you're needing to automate things, to handle something that can't be handled via MS Query, then you'll probably need to look at using VBA. You can access the VB Editor Windows by pressing <Alt> + <F11>. If it doesn't come up, make sure this option is enabled in Excel '07:
-->Office Button -> Excel Options -> Popular -> Show Developer tab in the Ribbon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top