Excel OLAP cube formulas

sans holo

New Member
Joined
Feb 22, 2012
Messages
24
I have created an Excel user form that incorporates locked fields that populate with customer information from a SQL server by way of OLAP CUBEVALUE formulas. It works great, however I have run into a problem b/c I have other CUBEMEMBER information that I need to display per user selection which is itself another CUBEMEMBER (Customer ID).

Does anyone know if this is possible and how it might be done?

A fictitious, simplified example of the SQL database would look like the table below. What I would like to show in user form is the "Risk Rating" based on the related "Account #" selected by the user. In Excel speak, it would work like a VLOOKUP or INDEX(MATCH) function.

[TABLE="width: 218"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]"ACCOUNT #" is CUBEMEMBER[/TD]
[TD]"RISK RATING" is CUBEMEMBER[/TD]
[/TR]
[TR]
[TD]AA1
[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]AA2[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]AA3[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]AA4[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]AA5[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD].....[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,224,820
Messages
6,181,157
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top