Slicer and Cube Formula Errors

jlichten

New Member
Joined
Nov 17, 2015
Messages
5
Hello,

I searched the forums but haven't seen this issue yet...

When using cube formulas that are driven by measures and cubesets driven by formulas, I receive the #N/A error when I deselect from a slicer. This is generated because the cubeset formula for that slicer throws an #N/A...

Has anyone else encountered this issue? Is there a known solution?

Thanks in advance,
Josh
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Do you actually need a cube set for your slicer? I guess you would if you were trying to return a list of members with cubemember, but if you are just trying to capture the slicer input to use as a member input to a cubevalue, then you just use the slicer name. Sorry if you already know that, just thought I would mention it.

My assumption is a non filtered slicer has no cubeset, hence it returns NA. I suggest you just trap for this error with an IFERROR or similar.
 
Last edited:
Upvote 0
Hi Matt,

Thanks for the quick feedback. I was trying to utilize the cubeset trick outlined in Andrew Todd's article on PPP.

I also tried hardcoding the slicer names into the cubevalue formula but unfortunately I still get an error for deselecting slicers (CTRL +Click).

The strange thing is it only does gives errors when I deselect a specific slicer, not all...
 
Upvote 0
Hi @jlichten,

It has been a while, but did you find a solution for your issue.
Some years passed by but i face the same issue as you do.

Thanks, any help welcome
 
Upvote 0
Hi There bta20,

Unfortunately I do not recall if I ever found a solution. The majority of our reporting has shifted to PowerBI so I am very rusty with cube formulas.
 
Upvote 0

Forum statistics

Threads
1,216,749
Messages
6,132,496
Members
449,730
Latest member
SeanHT

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